drop_square.rasi 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. /*
  2. *
  3. * Author : Aditya Shakya
  4. * Mail : adi1090x@gmail.com
  5. * Github : @adi1090x
  6. * Twitter : @adi1090x
  7. *
  8. */
  9. configuration {
  10. font: "FantasqueSansMono Nerd Font 14";
  11. show-icons: false;
  12. icon-theme: "Papirus";
  13. drun-display-format: "{name}";
  14. disable-history: false;
  15. fullscreen: false;
  16. hide-scrollbar: true;
  17. sidebar-mode: false;
  18. }
  19. @import "styles/colors.rasi"
  20. window {
  21. transparency: "real";
  22. background-color: @background;
  23. text-color: @foreground;
  24. border-radius: 0px;
  25. height: 46%;
  26. width: 100%;
  27. location: north;
  28. x-offset: 0;
  29. y-offset: 0;
  30. }
  31. prompt {
  32. enabled: true;
  33. padding: 1% 1% 1% 0%;
  34. background-color: @background-alt;
  35. text-color: @foreground;
  36. }
  37. textbox-prompt-colon {
  38. expand: false;
  39. str: "System |";
  40. background-color: @background-alt;
  41. text-color: @foreground;
  42. padding: 1% 0.5% 1% 5%;
  43. }
  44. inputbar {
  45. children: [ textbox-prompt-colon, prompt ];
  46. background-color: @background-alt;
  47. text-color: @foreground;
  48. expand: false;
  49. border: 0% 0% 0.2% 0%;
  50. border-radius: 0% 0% 0% 0%;
  51. border-color: @border;
  52. margin: 0% 27% 0% 18%;
  53. padding: 0.5%;
  54. position: center;
  55. }
  56. listview {
  57. background-color: @background;
  58. margin: 0% 0% 0% 0%;
  59. spacing: 3%;
  60. cycle: true;
  61. dynamic: true;
  62. layout: horizontal;
  63. }
  64. mainbox {
  65. background-color: @background;
  66. children: [ listview, inputbar ];
  67. spacing: 0%;
  68. padding: 5% 0% 5% 9%;
  69. }
  70. element {
  71. background-color: @background-alt;
  72. text-color: @foreground;
  73. orientation: horizontal;
  74. border-radius: 0%;
  75. }
  76. element-text {
  77. font: "feather 64";
  78. expand: true;
  79. horizontal-align: 0.5;
  80. vertical-align: 0.5;
  81. margin: 6.5% 4% 6.5% 4%;
  82. }
  83. element normal.urgent,
  84. element alternate.urgent {
  85. background-color: @urgent;
  86. text-color: @foreground;
  87. border-radius: 0.2%;
  88. }
  89. element normal.active,
  90. element alternate.active {
  91. background-color: @background-alt;
  92. text-color: @foreground;
  93. }
  94. element selected {
  95. background-color: @selected;
  96. text-color: @foreground;
  97. border: 0% 0% 0.2% 0%;
  98. border-radius: 0%;
  99. border-color: @border;
  100. }
  101. element selected.urgent {
  102. background-color: @urgent;
  103. text-color: @foreground;
  104. }
  105. element selected.active {
  106. background-color: @background-alt;
  107. color: @foreground;
  108. }