slingshot.rasi 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. /*
  2. *
  3. * Author : Aditya Shakya
  4. * Mail : adi1090x@gmail.com
  5. * Github : @adi1090x
  6. * Twitter : @adi1090x
  7. *
  8. */
  9. configuration {
  10. font: "Noto Sans 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. /* -- Light-- */
  19. * {
  20. background: #F5F5F5FF;
  21. background-alt: #00000000;
  22. background-bar: #D7D7D7FF;
  23. foreground: #000000A6;
  24. accent: #80808066;
  25. }
  26. /* -- Dark -- */
  27. /*
  28. * {
  29. background: #3E4148FF;
  30. background-alt: #00000000;
  31. background-bar: #363A3FFF;
  32. foreground: #F5F5F5FF;
  33. accent: #00000066;
  34. }
  35. */
  36. window {
  37. transparency: "real";
  38. background-color: @background;
  39. text-color: @foreground;
  40. border: 0px;
  41. border-color: @border;
  42. border-radius: 4px;
  43. width: 32%;
  44. location: northwest;
  45. x-offset: 10px;
  46. y-offset: 50px;
  47. }
  48. prompt {
  49. enabled: true;
  50. padding: 0.30% 0.5% 0% 0%;
  51. background-color: @background-alt;
  52. text-color: @foreground;
  53. font: "FantasqueSansMono Nerd Font 10";
  54. }
  55. entry {
  56. background-color: @background-alt;
  57. text-color: @foreground;
  58. placeholder-color: @foreground;
  59. expand: true;
  60. horizontal-align: 0;
  61. placeholder: "Search Applications";
  62. padding: -0.15% 0% 0% 0%;
  63. blink: true;
  64. }
  65. inputbar {
  66. children: [ prompt, entry ];
  67. background-color: @background;
  68. text-color: @foreground;
  69. expand: false;
  70. border: 0.1%;
  71. border-radius: 4px;
  72. border-color: @accent;
  73. margin: 0% 0% 0% 0%;
  74. padding: 0.50%;
  75. }
  76. listview {
  77. background-color: @background-alt;
  78. columns: 5;
  79. lines: 3;
  80. spacing: 0%;
  81. cycle: false;
  82. dynamic: true;
  83. layout: vertical;
  84. }
  85. mainbox {
  86. background-color: @background-alt;
  87. border: 0% 0% 0% 0%;
  88. border-radius: 0% 0% 0% 0%;
  89. border-color: @accent;
  90. children: [ inputbar, listview ];
  91. spacing: 1%;
  92. padding: 1.25% 0.65% 1.25% 0.65%;
  93. }
  94. element {
  95. background-color: @background-alt;
  96. text-color: @foreground;
  97. orientation: vertical;
  98. border-radius: 0%;
  99. padding: 2% 0% 2% 0%;
  100. }
  101. element-icon {
  102. background-color: inherit;
  103. text-color: inherit;
  104. horizontal-align: 0.5;
  105. vertical-align: 0.5;
  106. size: 64px;
  107. border: 0px;
  108. }
  109. element-text {
  110. background-color: inherit;
  111. text-color: inherit;
  112. expand: true;
  113. horizontal-align: 0.5;
  114. vertical-align: 0.5;
  115. margin: 0.5% 0.5% -0.5% 0.5%;
  116. }
  117. element selected {
  118. background-color: @background-bar;
  119. text-color: @foreground;
  120. border: 0.1%;
  121. border-radius: 4px;
  122. border-color: @accent;
  123. }