three.rasi 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. /*
  2. *
  3. * Author : Aditya Shakya
  4. * Mail : adi1090x@gmail.com
  5. * Github : @adi1090x
  6. * Twitter : @adi1090x
  7. *
  8. */
  9. configuration {
  10. show-icons: false;
  11. disable-history: false;
  12. sidebar-mode: false;
  13. }
  14. @import "colors.rasi"
  15. * {
  16. background-color: @background;
  17. text-color: @foreground;
  18. }
  19. window {
  20. transparency: "real";
  21. border-radius: 12px;
  22. width: 100px;
  23. location: east;
  24. x-offset: -15px;
  25. y-offset: 0px;
  26. }
  27. listview {
  28. lines: 3;
  29. margin: 8px;
  30. spacing: 8px;
  31. cycle: true;
  32. dynamic: true;
  33. layout: vertical;
  34. }
  35. mainbox {
  36. background-color: @background;
  37. children: [ listview ];
  38. }
  39. element {
  40. background-color: @background-light;
  41. text-color: @foreground;
  42. orientation: vertical;
  43. border-radius: 12px;
  44. }
  45. element-text {
  46. background-color: inherit;
  47. text-color: inherit;
  48. font: "feather 20";
  49. expand: true;
  50. horizontal-align: 0.5;
  51. vertical-align: 0.5;
  52. margin: 26px 26px 26px 26px;
  53. }
  54. element normal.urgent,
  55. element alternate.urgent {
  56. background-color: @off;
  57. text-color: @background;
  58. border-radius: 10px;
  59. }
  60. element normal.active,
  61. element alternate.active {
  62. background-color: @on;
  63. text-color: @background;
  64. }
  65. element selected {
  66. background-color: @accent;
  67. text-color: @background;
  68. border: 0px;
  69. border-radius: 10px;
  70. border-color: @border;
  71. }
  72. element selected.urgent {
  73. background-color: @on;
  74. text-color: @background;
  75. }
  76. element selected.active {
  77. background-color: @off;
  78. color: @background;
  79. }