style.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. * {
  2. border: none;
  3. border-radius: 0;
  4. /* `otf-font-awesome` is required to be installed for icons */
  5. font-family: Roboto, Helvetica, Arial, sans-serif;
  6. font-size: 13px;
  7. min-height: 0;
  8. }
  9. window#waybar {
  10. background-color: rgba(255, 255, 255, 0.95);
  11. border-bottom: 0px solid rgba(100, 114, 125, 0.5);
  12. color: #535d6c;
  13. transition-property: background-color;
  14. transition-duration: .5s;
  15. }
  16. window#waybar.hidden {
  17. opacity: 0.2;
  18. }
  19. /*
  20. window#waybar.empty {
  21. background-color: transparent;
  22. }
  23. window#waybar.solo {
  24. background-color: #FFFFFF;
  25. }
  26. */
  27. window#waybar.termite {
  28. background-color: #3F3F3F;
  29. }
  30. window#waybar.chromium {
  31. background-color: #000000;
  32. border: none;
  33. }
  34. #workspaces button {
  35. padding: 0 10px;
  36. background-color: transparent;
  37. color: #535d6c;
  38. /* Use box-shadow instead of border so the text isn't offset */
  39. box-shadow: inset 0 -3px transparent;
  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: #ffcc00;
  48. box-shadow: inset 0 -3px #ffffff;
  49. color: #ffffff;
  50. }
  51. #workspaces button.urgent {
  52. background-color: #eb4d4b;
  53. }
  54. #mode {
  55. background-color: #64727D;
  56. border-bottom: 3px solid #ffffff;
  57. }
  58. #clock,
  59. #battery,
  60. #cpu,
  61. #memory,
  62. #disk,
  63. #temperature,
  64. #backlight,
  65. #network,
  66. #pulseaudio,
  67. #custom-media,
  68. #tray,
  69. #mode,
  70. #idle_inhibitor,
  71. #mpd {
  72. padding: 0 10px;
  73. margin: 0 4px;
  74. color: #ffffff;
  75. }
  76. #window,
  77. #workspaces {
  78. margin: 0 4px;
  79. }
  80. /* If workspaces is the leftmost module, omit left margin */
  81. .modules-left > widget:first-child > #workspaces {
  82. margin-left: 0;
  83. }
  84. /* If workspaces is the rightmost module, omit right margin */
  85. .modules-right > widget:last-child > #workspaces {
  86. margin-right: 0;
  87. }
  88. #clock {
  89. background-color: #ffffff;
  90. color: #535d6c;
  91. }
  92. #battery {
  93. background-color: #ffffff;
  94. color: #000000;
  95. }
  96. #battery.charging, #battery.plugged {
  97. color: #ffffff;
  98. background-color: #26A65B;
  99. }
  100. @keyframes blink {
  101. to {
  102. background-color: #ffffff;
  103. color: #000000;
  104. }
  105. }
  106. #battery.critical:not(.charging) {
  107. background-color: #f53c3c;
  108. color: #ffffff;
  109. animation-name: blink;
  110. animation-duration: 0.5s;
  111. animation-timing-function: linear;
  112. animation-iteration-count: infinite;
  113. animation-direction: alternate;
  114. }
  115. label:focus {
  116. background-color: #000000;
  117. }
  118. #cpu {
  119. background-color: #2ecc71;
  120. color: #000000;
  121. }
  122. #memory {
  123. background-color: #9b59b6;
  124. }
  125. #disk {
  126. background-color: #964B00;
  127. }
  128. #backlight {
  129. background-color: #90b1b1;
  130. }
  131. #network {
  132. background-color: #2980b9;
  133. }
  134. #network.disconnected {
  135. background-color: #f53c3c;
  136. }
  137. #pulseaudio {
  138. background-color: rgba(255, 255, 255, 0);
  139. color: #535d6c;
  140. }
  141. #pulseaudio.muted {
  142. background-color: #90b1b1;
  143. color: #2a5c45;
  144. }
  145. #custom-media {
  146. background-color: #66cc99;
  147. color: #2a5c45;
  148. min-width: 100px;
  149. }
  150. #custom-media.custom-spotify {
  151. background-color: #66cc99;
  152. }
  153. #custom-media.custom-vlc {
  154. background-color: #ffa000;
  155. }
  156. #temperature {
  157. background-color: #f0932b;
  158. }
  159. #temperature.critical {
  160. background-color: #eb4d4b;
  161. }
  162. #tray {
  163. background-color: #2980b9;
  164. }
  165. #idle_inhibitor {
  166. background-color: #2d3436;
  167. }
  168. #idle_inhibitor.activated {
  169. background-color: #ecf0f1;
  170. color: #2d3436;
  171. }
  172. #mpd {
  173. background-color: #66cc99;
  174. color: #2a5c45;
  175. }
  176. #mpd.disconnected {
  177. background-color: #f53c3c;
  178. }
  179. #mpd.stopped {
  180. background-color: #90b1b1;
  181. }
  182. #mpd.paused {
  183. background-color: #51a37a;
  184. }
  185. #language {
  186. background: rgba(255, 255, 255, 0);
  187. color: #535d6c;
  188. padding: 0 5px;
  189. margin: 0 5px;
  190. min-width: 20px;
  191. }