ribbon_left.rasi 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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 10";
  11. show-icons: true;
  12. icon-theme: "Papirus";
  13. display-drun: "";
  14. drun-display-format: "{name}";
  15. disable-history: false;
  16. sidebar-mode: false;
  17. }
  18. @import "styles/colors.rasi"
  19. window {
  20. transparency: "real";
  21. background-color: @background;
  22. text-color: @foreground;
  23. border: 0% 0% 0% 1.5%;
  24. border-color: @border;
  25. border-radius: 0% 0% 0% 0%;
  26. height: 49.50%;
  27. width: 40%;
  28. location: center;
  29. x-offset: 0;
  30. y-offset: 0;
  31. }
  32. prompt {
  33. enabled: true;
  34. padding: 0% 1% 0% 0%;
  35. background-color: @background;
  36. text-color: @foreground;
  37. font: "FantasqueSansMono Nerd Font 12";
  38. }
  39. entry {
  40. background-color: @background;
  41. text-color: @foreground;
  42. placeholder-color: @foreground;
  43. expand: true;
  44. horizontal-align: 0;
  45. placeholder: "Search Applications";
  46. padding: 0.15% 0% 0% 0%;
  47. blink: true;
  48. }
  49. inputbar {
  50. children: [ prompt, entry ];
  51. background-color: @background;
  52. text-color: @foreground;
  53. expand: false;
  54. border: 0% 0% 0.3% 0%;
  55. border-radius: 0% 0% 0% 0%;
  56. border-color: @border-alt;
  57. margin: 0% 17% 0% 0%;
  58. padding: 1%;
  59. position: center;
  60. }
  61. listview {
  62. background-color: @background;
  63. columns: 4;
  64. spacing: 1%;
  65. cycle: false;
  66. dynamic: true;
  67. layout: vertical;
  68. }
  69. mainbox {
  70. background-color: @background;
  71. border: 0% 0% 0% 1.5%;
  72. border-radius: 0% 0% 0% 0%;
  73. border-color: @border-alt;
  74. children: [ inputbar, listview ];
  75. spacing: 2%;
  76. padding: 2.5% 2% 2.5% 2%;
  77. }
  78. element {
  79. background-color: @background;
  80. text-color: @foreground;
  81. orientation: vertical;
  82. border-radius: 0%;
  83. padding: 2% 0% 2% 0%;
  84. }
  85. element-icon {
  86. background-color: #00000000;
  87. text-color: inherit;
  88. horizontal-align: 0.5;
  89. vertical-align: 0.5;
  90. size: 64px;
  91. border: 0px;
  92. }
  93. element-text {
  94. background-color: #00000000;
  95. text-color: inherit;
  96. expand: true;
  97. horizontal-align: 0.5;
  98. vertical-align: 0.5;
  99. margin: 0.5% 1% 0% 1%;
  100. }
  101. element normal.urgent,
  102. element alternate.urgent {
  103. background-color: @urgent;
  104. text-color: @foreground;
  105. border-radius: 1%;
  106. }
  107. element normal.active,
  108. element alternate.active {
  109. background-color: @background-alt;
  110. text-color: @foreground;
  111. }
  112. element selected {
  113. background-color: @selected;
  114. text-color: @foreground;
  115. border: 0% 0% 0.3% 0%;
  116. border-radius: 0% 0% 0% 0%;
  117. border-color: @border-alt;
  118. }
  119. element selected.urgent {
  120. background-color: @urgent;
  121. text-color: @foreground;
  122. }
  123. element selected.active {
  124. background-color: @background-alt;
  125. color: @foreground;
  126. }