themes.rasi 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. configuration {
  2. font: "Iosevka 10";
  3. show-icons: false;
  4. display-drun: ":";
  5. drun-display-format: "{name}";
  6. threads: 0;
  7. scroll-method: 0;
  8. disable-history: false;
  9. fullscreen: false;
  10. hide-scrollbar: true;
  11. sidebar-mode: false;
  12. }
  13. @import "colors.rasi"
  14. window {
  15. transparency: "real";
  16. background-color: @background;
  17. text-color: @foreground;
  18. border: 1px;
  19. border-radius: 0px;
  20. border-color: @selected;
  21. width: 15%;
  22. location: center;
  23. anchor: center;
  24. x-offset: 0;
  25. y-offset: 0;
  26. }
  27. prompt {
  28. enabled: true;
  29. padding: 4px 4px 6px 6px;
  30. background-color: @background;
  31. text-color: @foreground;
  32. }
  33. textbox-prompt-colon {
  34. expand: false;
  35. str: "";
  36. background-color: @background;
  37. text-color: @urgent;
  38. padding: 5px 0px 0px 4px;
  39. font: "feather 10";
  40. }
  41. inputbar {
  42. children: [ textbox-prompt-colon, prompt ];
  43. background-color: @background;
  44. text-color: @foreground;
  45. expand: false;
  46. border: 0px 0px 1px 0px;
  47. border-radius: 0px;
  48. border-color: @selected;
  49. margin: 0px 0px 0px 0px;
  50. padding: 0px 0px 0px 0px;
  51. position: center;
  52. }
  53. entry {
  54. background-color: @background;
  55. text-color: @foreground;
  56. placeholder-color: @foreground;
  57. expand: true;
  58. horizontal-align: 0;
  59. placeholder: "Search";
  60. blink: true;
  61. padding: 4px 0px 0px 0px;
  62. }
  63. case-indicator {
  64. background-color: @background;
  65. text-color: @foreground;
  66. spacing: 0;
  67. }
  68. listview {
  69. background-color: @background;
  70. columns: 1;
  71. lines: 6;
  72. spacing: 5px;
  73. cycle: true;
  74. dynamic: true;
  75. layout: vertical;
  76. }
  77. mainbox {
  78. background-color: @background;
  79. children: [ inputbar, listview ];
  80. spacing: 5px;
  81. padding: 5px 5px 5px 5px;
  82. }
  83. element {
  84. background-color: @background;
  85. text-color: @foreground;
  86. orientation: horizontal;
  87. border: 0px;
  88. border-radius: 0px;
  89. border-color: @selected;
  90. padding: 5px 5px 5px 5px;
  91. }
  92. element-icon {
  93. size: 24px;
  94. border: 0px;
  95. }
  96. element-text {
  97. expand: true;
  98. horizontal-align: 0;
  99. vertical-align: 0;
  100. margin: 2px 0px 2px 2px;
  101. }
  102. element selected {
  103. background-color: @selected;
  104. text-color: @background;
  105. border: 0px;
  106. border-radius: 0px;
  107. border-color: @selected;
  108. }
  109. element.active,
  110. element.selected.urgent {
  111. background-color: @on;
  112. text-color: @background;
  113. border-color: @on;
  114. }
  115. element.selected.urgent {
  116. border-color: @urgent;
  117. }
  118. element.urgent,
  119. element.selected.active {
  120. background-color: @off;
  121. text-color: @background;
  122. border-color: @off;
  123. }
  124. element.selected.active {
  125. border-color: @selected;
  126. }