You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

236 lines
3.4 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. @define-color bg_primary #1d2021;
  2. @define-color font_primary #fbf1c7;
  3. @define-color bg_active #17917a;
  4. * {
  5. border: none;
  6. border-radius: 0;
  7. /* `otf-font-awesome` is required to be installed for icons */
  8. font-family: Vulf Mono Code, mono, "Font Awesome", sans-serif;
  9. font-size: 12px;
  10. min-height: 0;
  11. }
  12. window#waybar {
  13. /*background-color: #1d2021;*/
  14. background-color: transparent;
  15. /*border-bottom: 3px solid rgba(100, 114, 125, 0.2);*/
  16. color: #fbf1c7;
  17. transition-property: background-color;
  18. transition-duration: .5s;
  19. }
  20. window#waybar.hidden {
  21. opacity: 0.2;
  22. }
  23. /*
  24. window#waybar.empty {
  25. background-color: transparent;
  26. }
  27. window#waybar.solo {
  28. background-color: #FFFFFF;
  29. }
  30. */
  31. window#waybar.termite {
  32. background-color: #3F3F3F;
  33. }
  34. window#waybar.chromium {
  35. background-color: #000000;
  36. border: none;
  37. }
  38. .modules-center {
  39. border-radius: 5px;
  40. padding: 0px 10px;
  41. background-color: @bg_primary;
  42. }
  43. .modules-left > * {
  44. background-color: @bg_primary;
  45. padding: 0px 10px;
  46. }
  47. .modules-left > widget:last-child {
  48. background-color: @bg_active;
  49. color: @bg_primary;
  50. margin-left: 20px;
  51. border-radius: 0px 5px 5px 0px;
  52. padding: 0 5px;
  53. margin: 0 5px;
  54. }
  55. .modules-left > widget:nth-last-child(2) {
  56. /*border-radius: 0px 5px 5px 0px;*/
  57. }
  58. .modules-right > * {
  59. background-color: @bg_primary;
  60. padding: 0px 10px;
  61. }
  62. .modules-right > widget:first-child {
  63. background-color: transparent;
  64. }
  65. .modules-right > widget:nth-child(2) {
  66. border-radius: 5px 0px 0px 5px;
  67. }
  68. #workspaces {
  69. /* background-color: #434c5e;
  70. padding: 1 5 1 5;
  71. font-size: 15px;
  72. border-radius: 10px;
  73. margin-right: 10;*/
  74. }
  75. #workspaces button {
  76. padding: 0 5px;
  77. /* background-color: #fbf1c7; */
  78. color: #fbf1c7;
  79. }
  80. /* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
  81. #workspaces button:hover {
  82. background: #17917a;
  83. box-shadow: inherit;
  84. color: #fbf1c7;
  85. }
  86. #workspaces button.focused {
  87. background-color: #17917a;
  88. color: #fbf1c7;
  89. }
  90. #workspaces button.urgent {
  91. background-color: #eb4d4b;
  92. }
  93. #mode {
  94. background-color: #64727D;
  95. }
  96. #clock,
  97. #battery,
  98. #cpu,
  99. #disk,
  100. #memory,
  101. #temperature,
  102. #backlight,
  103. #network,
  104. #pulseaudio,
  105. #custom-media,
  106. #tray,
  107. #mode,
  108. #idle_inhibitor,
  109. #custom-temperature,
  110. #custom-watson,
  111. #custom-calc,
  112. #custom-power,
  113. #window,
  114. #mpd {
  115. padding: 0 5px;
  116. margin: 0 5px;
  117. color: #fbf1c7;
  118. }
  119. #clock {
  120. }
  121. @keyframes blink {
  122. to {
  123. background-color: #ffffff;
  124. color: #000000;
  125. }
  126. }
  127. #battery.critical:not(.charging) {
  128. background-color: #f53c3c;
  129. color: #ffffff;
  130. animation-name: blink;
  131. animation-duration: 0.5s;
  132. animation-timing-function: linear;
  133. animation-iteration-count: infinite;
  134. animation-direction: alternate;
  135. }
  136. label:focus {
  137. background-color: #000000;
  138. }
  139. #cpu {
  140. }
  141. #memory {
  142. }
  143. #backlight {
  144. }
  145. #network {
  146. /*background-color: #2980b9;*/
  147. }
  148. #network.disconnected {
  149. }
  150. #pulseaudio {
  151. }
  152. #pulseaudio.muted {
  153. }
  154. #custom-media {
  155. min-width: 100px;
  156. padding-top: 5px;
  157. padding-left: 15px;
  158. }
  159. #custom-media.custom-spotify {
  160. }
  161. #custom-media.custom-vlc {
  162. }
  163. #custom-power {
  164. padding-right: 15px;
  165. padding-left: 10px;
  166. }
  167. #temperature {
  168. }
  169. #temperature.critical {
  170. background-color: #eb4d4b;
  171. }
  172. #tray {
  173. /* background-color: #17917a; */
  174. }
  175. #idle_inhibitor {
  176. }
  177. #idle_inhibitor.activated {
  178. background-color: #ecf0f1;
  179. color: #2d3436;
  180. }
  181. #mpd {
  182. }
  183. #mpd.disconnected {
  184. }
  185. #mpd.stopped {
  186. }
  187. #mpd.paused {
  188. }