mpd.rasi 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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: 336px;
  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 12";
  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: horizontal;
  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. font: "feather 12";
  88. border: 1px;
  89. border-radius: 0px;
  90. border-color: @selected;
  91. padding: 15px 15px 15px 15px;
  92. }
  93. element-icon {
  94. size: 24px;
  95. border: 0px;
  96. }
  97. element-text {
  98. font: "feather 12";
  99. expand: true;
  100. horizontal-align: 0;
  101. vertical-align: 0;
  102. margin: 2px 0px 2px 2px;
  103. }
  104. element selected {
  105. background-color: @selected;
  106. text-color: @background;
  107. border: 0px;
  108. border-radius: 0px;
  109. border-color: @selected;
  110. }
  111. element.active,
  112. element.selected.urgent {
  113. background-color: @on;
  114. text-color: @background;
  115. border-color: @on;
  116. }
  117. element.selected.urgent {
  118. border-color: @urgent;
  119. }
  120. element.urgent,
  121. element.selected.active {
  122. background-color: @off;
  123. text-color: @background;
  124. border-color: @off;
  125. }
  126. element.selected.active {
  127. border-color: @selected;
  128. }