style.css 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. * {
  2. /* `otf-font-awesome` is required to be installed for icons */
  3. font-family: 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. #workspaces button {
  32. padding: 0 5px;
  33. background-color: transparent;
  34. color: #ffffff;
  35. /* Use box-shadow instead of border so the text isn't offset */
  36. box-shadow: inset 0 -3px transparent;
  37. /* Avoid rounded borders under each workspace name */
  38. border: none;
  39. border-radius: 0;
  40. }
  41. /* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
  42. #workspaces button:hover {
  43. background: rgba(0, 0, 0, 0.2);
  44. box-shadow: inset 0 -3px #ffffff;
  45. }
  46. #workspaces button.focused {
  47. background-color: #64727D;
  48. box-shadow: inset 0 -3px #ffffff;
  49. }
  50. #workspaces button.urgent {
  51. background-color: #eb4d4b;
  52. }
  53. #mode {
  54. background-color: #64727D;
  55. border-bottom: 3px solid #ffffff;
  56. }
  57. #clock,
  58. #battery,
  59. #cpu,
  60. #memory,
  61. #disk,
  62. #temperature,
  63. #backlight,
  64. #network,
  65. #pulseaudio,
  66. #custom-media,
  67. #tray,
  68. #mode,
  69. #idle_inhibitor,
  70. #mpd {
  71. padding: 0 10px;
  72. color: #ffffff;
  73. }
  74. #window,
  75. #workspaces {
  76. margin: 0 4px;
  77. }
  78. /* If workspaces is the leftmost module, omit left margin */
  79. .modules-left > widget:first-child > #workspaces {
  80. margin-left: 0;
  81. }
  82. /* If workspaces is the rightmost module, omit right margin */
  83. .modules-right > widget:last-child > #workspaces {
  84. margin-right: 0;
  85. }
  86. #clock {
  87. background-color: #64727D;
  88. }
  89. #battery {
  90. background-color: #ffffff;
  91. color: #000000;
  92. }
  93. #battery.charging, #battery.plugged {
  94. color: #ffffff;
  95. background-color: #26A65B;
  96. }
  97. @keyframes blink {
  98. to {
  99. background-color: #ffffff;
  100. color: #000000;
  101. }
  102. }
  103. #battery.critical:not(.charging) {
  104. background-color: #f53c3c;
  105. color: #ffffff;
  106. animation-name: blink;
  107. animation-duration: 0.5s;
  108. animation-timing-function: linear;
  109. animation-iteration-count: infinite;
  110. animation-direction: alternate;
  111. }
  112. label:focus {
  113. background-color: #000000;
  114. }
  115. #cpu {
  116. background-color: #2ecc71;
  117. color: #000000;
  118. }
  119. #memory {
  120. background-color: #9b59b6;
  121. }
  122. #disk {
  123. background-color: #964B00;
  124. }
  125. #backlight {
  126. background-color: #90b1b1;
  127. }
  128. #network {
  129. background-color: #2980b9;
  130. }
  131. #network.disconnected {
  132. background-color: #f53c3c;
  133. }
  134. #pulseaudio {
  135. background-color: #f1c40f;
  136. color: #000000;
  137. }
  138. #pulseaudio.muted {
  139. background-color: #90b1b1;
  140. color: #2a5c45;
  141. }
  142. #custom-media {
  143. background-color: #66cc99;
  144. color: #2a5c45;
  145. min-width: 100px;
  146. }
  147. #custom-media.custom-spotify {
  148. background-color: #66cc99;
  149. }
  150. #custom-media.custom-vlc {
  151. background-color: #ffa000;
  152. }
  153. #temperature {
  154. background-color: #f0932b;
  155. }
  156. #temperature.critical {
  157. background-color: #eb4d4b;
  158. }
  159. #tray {
  160. background-color: #2980b9;
  161. }
  162. #tray > .passive {
  163. -gtk-icon-effect: dim;
  164. }
  165. #tray > .needs-attention {
  166. -gtk-icon-effect: highlight;
  167. background-color: #eb4d4b;
  168. }
  169. #idle_inhibitor {
  170. background-color: #2d3436;
  171. }
  172. #idle_inhibitor.activated {
  173. background-color: #ecf0f1;
  174. color: #2d3436;
  175. }
  176. #mpd {
  177. background-color: #66cc99;
  178. color: #2a5c45;
  179. }
  180. #mpd.disconnected {
  181. background-color: #f53c3c;
  182. }
  183. #mpd.stopped {
  184. background-color: #90b1b1;
  185. }
  186. #mpd.paused {
  187. background-color: #51a37a;
  188. }
  189. #language {
  190. background: #00b093;
  191. color: #740864;
  192. padding: 0 5px;
  193. margin: 0 5px;
  194. min-width: 16px;
  195. }
  196. #keyboard-state {
  197. background: #97e1ad;
  198. color: #000000;
  199. padding: 0 0px;
  200. margin: 0 5px;
  201. min-width: 16px;
  202. }
  203. #keyboard-state > label {
  204. padding: 0 5px;
  205. }
  206. #keyboard-state > label.locked {
  207. background: rgba(0, 0, 0, 0.2);
  208. }