style.css 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  1. * {
  2. /* `otf-font-awesome` is required to be installed for icons */
  3. font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
  4. font-size: 13px;
  5. }
  6. window#waybar {
  7. background-color: rgba(43, 48, 59, 0.5);
  8. border-bottom: 3px solid rgba(100, 114, 125, 0.5);
  9. color: #ffffff;
  10. transition-property: background-color;
  11. transition-duration: .5s;
  12. }
  13. window#waybar.hidden {
  14. opacity: 0.2;
  15. }
  16. /*
  17. window#waybar.empty {
  18. background-color: transparent;
  19. }
  20. window#waybar.solo {
  21. background-color: #FFFFFF;
  22. }
  23. */
  24. window#waybar.termite {
  25. background-color: #3F3F3F;
  26. }
  27. window#waybar.chromium {
  28. background-color: #000000;
  29. border: none;
  30. }
  31. button {
  32. /* Use box-shadow instead of border so the text isn't offset */
  33. box-shadow: inset 0 -3px transparent;
  34. /* Avoid rounded borders under each button name */
  35. border: none;
  36. border-radius: 0;
  37. }
  38. /* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
  39. button:hover {
  40. background: inherit;
  41. box-shadow: inset 0 -3px #ffffff;
  42. }
  43. /* you can set a style on hover for any module like this */
  44. #pulseaudio:hover {
  45. background-color: #a37800;
  46. }
  47. #workspaces button {
  48. padding: 0 5px;
  49. background-color: transparent;
  50. color: #ffffff;
  51. }
  52. #workspaces button:hover {
  53. background: rgba(0, 0, 0, 0.2);
  54. }
  55. #workspaces button.focused {
  56. background-color: #64727D;
  57. box-shadow: inset 0 -3px #ffffff;
  58. }
  59. #workspaces button.urgent {
  60. background-color: #eb4d4b;
  61. }
  62. #mode {
  63. background-color: #64727D;
  64. box-shadow: inset 0 -3px #ffffff;
  65. }
  66. #custom-appmenu,
  67. #clock,
  68. #battery,
  69. #cpu,
  70. #memory,
  71. #disk,
  72. #temperature,
  73. #backlight,
  74. #network,
  75. #pulseaudio,
  76. #wireplumber,
  77. #custom-media,
  78. #tray,
  79. #mode,
  80. #idle_inhibitor,
  81. #scratchpad,
  82. #power-profiles-daemon,
  83. #mpd {
  84. padding: 0 10px;
  85. color: #ffffff;
  86. }
  87. #window,
  88. #workspaces {
  89. margin: 0 4px;
  90. }
  91. /* If workspaces is the leftmost module, omit left margin */
  92. .modules-left > widget:first-child > #workspaces {
  93. margin-left: 0;
  94. }
  95. /* If workspaces is the rightmost module, omit right margin */
  96. .modules-right > widget:last-child > #workspaces {
  97. margin-right: 0;
  98. }
  99. #clock {
  100. background-color: #64727D;
  101. }
  102. #battery {
  103. background-color: #ffffff;
  104. color: #000000;
  105. }
  106. #battery.charging, #battery.plugged {
  107. color: #ffffff;
  108. background-color: #26A65B;
  109. }
  110. @keyframes blink {
  111. to {
  112. background-color: #ffffff;
  113. color: #000000;
  114. }
  115. }
  116. /* Using steps() instead of linear as a timing function to limit cpu usage */
  117. #battery.critical:not(.charging) {
  118. background-color: #f53c3c;
  119. color: #ffffff;
  120. animation-name: blink;
  121. animation-duration: 0.5s;
  122. animation-timing-function: steps(12);
  123. animation-iteration-count: infinite;
  124. animation-direction: alternate;
  125. }
  126. #power-profiles-daemon {
  127. padding-right: 15px;
  128. }
  129. #power-profiles-daemon.performance {
  130. background-color: #f53c3c;
  131. color: #ffffff;
  132. }
  133. #power-profiles-daemon.balanced {
  134. background-color: #2980b9;
  135. color: #ffffff;
  136. }
  137. #power-profiles-daemon.power-saver {
  138. background-color: #2ecc71;
  139. color: #000000;
  140. }
  141. label:focus {
  142. background-color: #000000;
  143. }
  144. #custom-appmenu {
  145. background-color: #e65100;
  146. }
  147. #custom-appmenu:hover {
  148. background-color: #5d4037;
  149. }
  150. #taskbar button {
  151. color: #ffffff;
  152. }
  153. #taskbar button:hover {
  154. background-color: #64727d;
  155. }
  156. #cpu {
  157. background-color: #2ecc71;
  158. color: #000000;
  159. }
  160. #memory {
  161. background-color: #9b59b6;
  162. }
  163. #disk {
  164. background-color: #964B00;
  165. }
  166. #backlight {
  167. background-color: #90b1b1;
  168. }
  169. #network {
  170. background-color: #2980b9;
  171. }
  172. #network.disconnected {
  173. background-color: #f53c3c;
  174. }
  175. #pulseaudio {
  176. background-color: #f1c40f;
  177. color: #000000;
  178. }
  179. #pulseaudio.muted {
  180. background-color: #90b1b1;
  181. color: #2a5c45;
  182. }
  183. #wireplumber {
  184. background-color: #fff0f5;
  185. color: #000000;
  186. }
  187. #wireplumber.muted {
  188. background-color: #f53c3c;
  189. }
  190. #custom-media {
  191. background-color: #66cc99;
  192. color: #2a5c45;
  193. min-width: 100px;
  194. }
  195. #custom-media.custom-spotify {
  196. background-color: #66cc99;
  197. }
  198. #custom-media.custom-vlc {
  199. background-color: #ffa000;
  200. }
  201. #temperature {
  202. background-color: #f0932b;
  203. }
  204. #temperature.critical {
  205. background-color: #eb4d4b;
  206. }
  207. #tray {
  208. background-color: #2980b9;
  209. }
  210. #tray > .passive {
  211. -gtk-icon-effect: dim;
  212. }
  213. #tray > .needs-attention {
  214. -gtk-icon-effect: highlight;
  215. background-color: #eb4d4b;
  216. }
  217. #idle_inhibitor {
  218. background-color: #2d3436;
  219. }
  220. #idle_inhibitor.activated {
  221. background-color: #ecf0f1;
  222. color: #2d3436;
  223. }
  224. #mpd {
  225. background-color: #66cc99;
  226. color: #2a5c45;
  227. }
  228. #mpd.disconnected {
  229. background-color: #f53c3c;
  230. }
  231. #mpd.stopped {
  232. background-color: #90b1b1;
  233. }
  234. #mpd.paused {
  235. background-color: #51a37a;
  236. }
  237. #language {
  238. background: #00b093;
  239. color: #740864;
  240. padding: 0 5px;
  241. margin: 0 5px;
  242. min-width: 16px;
  243. }
  244. #keyboard-state {
  245. background: #97e1ad;
  246. color: #000000;
  247. padding: 0 0px;
  248. margin: 0 5px;
  249. min-width: 16px;
  250. }
  251. #keyboard-state > label {
  252. padding: 0 5px;
  253. }
  254. #keyboard-state > label.locked {
  255. background: rgba(0, 0, 0, 0.2);
  256. }
  257. #scratchpad {
  258. background: rgba(0, 0, 0, 0.2);
  259. }
  260. #scratchpad.empty {
  261. background-color: transparent;
  262. }
  263. #privacy {
  264. padding: 0;
  265. }
  266. #privacy-item {
  267. padding: 0 5px;
  268. color: white;
  269. }
  270. #privacy-item.screenshare {
  271. background-color: #cf5700;
  272. }
  273. #privacy-item.audio-in {
  274. background-color: #1ca000;
  275. }
  276. #privacy-item.audio-out {
  277. background-color: #0069d4;
  278. }