style_2.rasi 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. /*
  2. *
  3. * Author : Aditya Shakya
  4. * Mail : adi1090x@gmail.com
  5. * Github : @adi1090x
  6. * Twitter : @adi1090x
  7. *
  8. */
  9. configuration {
  10. font: "Iosevka Nerd Font 12";
  11. fixed-num-lines: true;
  12. show-icons: false;
  13. sidebar-mode: true;
  14. scroll-method: 0;
  15. window-format: "[{w}] ··· {c} ··· {t}";
  16. click-to-exit: true;
  17. combi-hide-mode-prefix: false;
  18. display-window: "";
  19. display-windowcd: "";
  20. display-run: "";
  21. display-ssh: "";
  22. display-drun: "";
  23. display-combi: "";
  24. }
  25. @import "styles/colors.rasi"
  26. * {
  27. background-color: @bg;
  28. }
  29. window {
  30. border: 0px;
  31. border-color: @ac;
  32. border-radius: 6px;
  33. padding: 30;
  34. width: 20%;
  35. }
  36. prompt {
  37. spacing: 0;
  38. border: 0;
  39. text-color: @fg;
  40. }
  41. textbox-prompt-colon {
  42. expand: false;
  43. str: " ";
  44. margin: 0px 4px 0px 0px;
  45. text-color: inherit;
  46. }
  47. entry {
  48. spacing: 0;
  49. text-color: @fg;
  50. }
  51. case-indicator {
  52. spacing: 0;
  53. text-color: @fg;
  54. }
  55. inputbar {
  56. spacing: 0px;
  57. text-color: @fg;
  58. padding: 1px;
  59. children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
  60. }
  61. mainbox {
  62. border: 0px;
  63. border-color: @ac;
  64. padding: 6;
  65. }
  66. listview {
  67. lines: 15;
  68. columns: 1;
  69. fixed-height: 0;
  70. border: 0px;
  71. border-color: @ac;
  72. spacing: 4px;
  73. scrollbar: false;
  74. padding: 5px 5px 0px 5px;
  75. }
  76. element-text, element-icon {
  77. background-color: #00000000;
  78. text-color: inherit;
  79. }
  80. element {
  81. border: 0px;
  82. border-radius: 4px;
  83. padding: 5px;
  84. }
  85. element normal.normal {
  86. background-color: @bg;
  87. text-color: @fg;
  88. }
  89. element normal.urgent {
  90. background-color: @bg;
  91. text-color: @red;
  92. }
  93. element normal.active {
  94. background-color: @green;
  95. text-color: @bg;
  96. }
  97. element selected.normal {
  98. background-color: @fg;
  99. text-color: @bg;
  100. }
  101. element selected.urgent {
  102. background-color: @bg;
  103. text-color: @red;
  104. }
  105. element selected.active {
  106. background-color: @fg;
  107. text-color: @bg;
  108. }
  109. element alternate.normal {
  110. background-color: @bg;
  111. text-color: @fg;
  112. }
  113. element alternate.urgent {
  114. background-color: @bg;
  115. text-color: @fg;
  116. }
  117. element alternate.active {
  118. background-color: @bg;
  119. text-color: @fg;
  120. }
  121. sidebar {
  122. border: 0px;
  123. border-color: @ac;
  124. border-radius: 0px;
  125. }
  126. button {
  127. horizontal-align: 0.5;
  128. vertical-align: 0.5;
  129. background-color: @fg;
  130. margin: 5px;
  131. padding: 5px;
  132. text-color: @bg;
  133. border: 0px;
  134. border-radius: 4px;
  135. border-color: @fg;
  136. }
  137. button selected {
  138. background-color: @ac;
  139. text-color: @fg;
  140. border: 0px;
  141. border-radius: 4px;
  142. border-color: @fg;
  143. }
  144. scrollbar {
  145. width: 4px;
  146. border: 0px;
  147. handle-color: @fg;
  148. handle-width: 8px;
  149. padding: 0;
  150. }
  151. message {
  152. border: 0px;
  153. border-color: @ac;
  154. padding: 1px;
  155. }
  156. textbox {
  157. text-color: @fg;
  158. }