window.rasi 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. configuration {
  2. font: "Iosevka 10";
  3. show-icons: true;
  4. display-window: "Windows :";
  5. window-format: " {w} {n} {t:33}";
  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: 25%;
  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 6px;
  39. font: "feather 10";
  40. }
  41. inputbar {
  42. children: [ textbox-prompt-colon, prompt, entry ];
  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: "Filter";
  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: 8;
  72. spacing: 4px;
  73. cycle: false;
  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-radius: 0px;
  88. padding: 6px 6px 6px 6px;
  89. }
  90. element-icon {
  91. size: 16px;
  92. border: 0px;
  93. }
  94. element-text {
  95. expand: true;
  96. horizontal-align: 0;
  97. vertical-align: 0;
  98. margin: 2px 0px 2px 2px;
  99. }
  100. element normal.urgent,
  101. element alternate.urgent {
  102. background-color: @urgent;
  103. text-color: @foreground;
  104. border-radius: 0px;
  105. }
  106. element normal.active,
  107. element alternate.active {
  108. background-color: @on;
  109. text-color: @background;
  110. }
  111. element selected {
  112. background-color: @selected;
  113. text-color: @background;
  114. border: 0px;
  115. border-radius: 0px;
  116. border-color: @selected;
  117. }
  118. element selected.urgent {
  119. background-color: @urgent;
  120. text-color: @foreground;
  121. }
  122. element selected.active {
  123. background-color: @selected;
  124. color: @foreground;
  125. }