style.css 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  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(41, 42, 35, 1);
  11. color: #cfd0c2;
  12. transition-property: background-color;
  13. transition-duration: .5s;
  14. }
  15. window#waybar.hidden {
  16. opacity: 0.2;
  17. }
  18. /*
  19. window#waybar.empty {
  20. background-color: transparent;
  21. }
  22. window#waybar.solo {
  23. background-color: #cfd0c2;
  24. }
  25. */
  26. window#waybar.termite {
  27. background-color: #292a23;
  28. }
  29. window#waybar.chromium {
  30. background-color: #292a23;
  31. border: none;
  32. }
  33. #workspaces button {
  34. padding: 0 5px;
  35. background-color: transparent;
  36. color: #cfd0c2;
  37. /* Use box-shadow instead of border so the text isn't offset */
  38. box-shadow: inset 0 -3px transparent;
  39. }
  40. /* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
  41. #workspaces button:hover {
  42. background: rgba(0, 0, 0, 0.2);
  43. box-shadow: inset 0 -3px #cfd0c2;
  44. }
  45. #workspaces button.focused {
  46. background-color: #292a23;
  47. box-shadow: inset 0 -3px #cfd0c2;
  48. }
  49. #workspaces button.urgent {
  50. background-color: #292a23;
  51. }
  52. #mode {
  53. background-color: #292a23;
  54. border-bottom: 3px solid #cfd0c2;
  55. }
  56. #clock,
  57. #battery,
  58. #cpu,
  59. #memory,
  60. #temperature,
  61. #backlight,
  62. #network,
  63. #pulseaudio,
  64. #custom-media,
  65. #tray,
  66. #mode,
  67. #idle_inhibitor,
  68. #mpd {
  69. padding: 0 10px;
  70. margin: 0 4px;
  71. color: #cfd0c2;
  72. }
  73. #window,
  74. #workspaces {
  75. margin: 0 4px;
  76. }
  77. /* If workspaces is the leftmost module, omit left margin */
  78. .modules-left > widget:first-child > #workspaces {
  79. margin-left: 0;
  80. }
  81. /* If workspaces is the rightmost module, omit right margin */
  82. .modules-right > widget:last-child > #workspaces {
  83. margin-right: 0;
  84. }
  85. #clock {
  86. background-color: #292a23;
  87. }
  88. #battery {
  89. background-color: #292a23;
  90. color: #cfd0c2;
  91. }
  92. #battery.charging {
  93. color: #36af90;
  94. background-color: #292a23;
  95. }
  96. @keyframes blink {
  97. to {
  98. background-color: #292a23;
  99. color: #e7db75;
  100. }
  101. }
  102. #battery.critical:not(.charging) {
  103. background-color: #292a23;
  104. color: #fa2772;
  105. animation-name: blink;
  106. animation-duration: 0.5s;
  107. animation-timing-function: linear;
  108. animation-iteration-count: infinite;
  109. animation-direction: alternate;
  110. }
  111. label:focus {
  112. background-color: #48483e;
  113. }
  114. #cpu {
  115. background-color: #292a23;
  116. color: #cfd0c2;
  117. }
  118. #memory {
  119. background-color: #292a23;
  120. }
  121. #backlight {
  122. background-color: #292a23;
  123. }
  124. #network {
  125. background-color: #292a23;
  126. }
  127. #network.disconnected {
  128. color: #fa2772;
  129. background-color: #292a23;
  130. }
  131. #pulseaudio {
  132. background-color: #292a23;
  133. color: #cfd0c2;
  134. }
  135. #pulseaudio.muted {
  136. color: #fa2772;
  137. background-color: #292a23;
  138. }
  139. #custom-media {
  140. background-color: #292a23;
  141. color: #cfd0c2;
  142. min-width: 100px;
  143. }
  144. #custom-media.custom-spotify {
  145. background-color: #292a23;
  146. color: #36af90;
  147. }
  148. #custom-media.custom-vlc {
  149. background-color: #292a23;
  150. color: #fe9720;
  151. }
  152. #temperature {
  153. background-color: #292a23;
  154. color: #cfd0c2;
  155. }
  156. #temperature.critical {
  157. background-color: #292a23;
  158. color: #fa2772;
  159. }
  160. #tray {
  161. background-color: #292a23;
  162. color: #cfd0c2;
  163. }
  164. #idle_inhibitor {
  165. background-color: #292a23;
  166. color: #cfd0c2;
  167. }
  168. #idle_inhibitor.activated {
  169. background-color: #292a23;
  170. color: #36af90;
  171. }
  172. #mpd {
  173. background-color: #292a23;
  174. color: #cfd0c2;
  175. }
  176. #mpd.disconnected {
  177. background-color: #292a23;
  178. color: #fa2772;
  179. }
  180. #mpd.stopped {
  181. background-color: #292a23;
  182. color: #fe9720;
  183. }
  184. #mpd.paused {
  185. background-color: #292a23;
  186. color: #e7db75;
  187. }
  188. #language {
  189. background: #292a23;
  190. color: #cfd0c2;
  191. padding: 0 5px;
  192. margin: 0 5px;
  193. min-width: 16px;
  194. }
  195. #taskbar button {
  196. background: #48483e;
  197. color: #cfd0c2;
  198. }
  199. #taskbar button.active {
  200. background: #36af90;
  201. color: #292a23;
  202. }