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.

204 lines
3.2 KiB

  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: 16px;
  7. min-height: 0;
  8. }
  9. window#waybar {
  10. background-color: rgba(43, 48, 59, 0.5);
  11. border-bottom: 3px solid rgba(100, 114, 125, 0.5);
  12. color: #ffffff;
  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 5px;
  36. background-color: transparent;
  37. color: #ffffff;
  38. border-bottom: 3px solid 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: inherit;
  44. border-bottom: 3px solid #ffffff;
  45. }
  46. #workspaces button.focused {
  47. background-color: #64727D;
  48. border-bottom: 3px solid #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. #temperature,
  62. #backlight,
  63. #network,
  64. #pulseaudio,
  65. #custom-media,
  66. #tray,
  67. #mode,
  68. #idle_inhibitor,
  69. #mpd {
  70. padding: 0 10px;
  71. margin: 0 4px;
  72. color: #ffffff;
  73. }
  74. #clock {
  75. background-color: #64727D;
  76. }
  77. #battery {
  78. background-color: #ffffff;
  79. color: #000000;
  80. }
  81. #battery.charging {
  82. color: #ffffff;
  83. background-color: #26A65B;
  84. }
  85. @keyframes blink {
  86. to {
  87. background-color: #ffffff;
  88. color: #000000;
  89. }
  90. }
  91. #battery.critical:not(.charging) {
  92. background-color: #f53c3c;
  93. color: #ffffff;
  94. animation-name: blink;
  95. animation-duration: 0.5s;
  96. animation-timing-function: linear;
  97. animation-iteration-count: infinite;
  98. animation-direction: alternate;
  99. }
  100. label:focus {
  101. background-color: #000000;
  102. }
  103. #cpu {
  104. background-color: #2ecc71;
  105. color: #000000;
  106. }
  107. #memory {
  108. background-color: #9b59b6;
  109. }
  110. #backlight {
  111. background-color: #90b1b1;
  112. }
  113. #network {
  114. background-color: #2980b9;
  115. }
  116. #network.disconnected {
  117. background-color: #f53c3c;
  118. }
  119. #pulseaudio {
  120. background-color: #f1c40f;
  121. color: #000000;
  122. }
  123. #pulseaudio.muted {
  124. background-color: #90b1b1;
  125. color: #2a5c45;
  126. }
  127. #custom-media {
  128. background-color: #66cc99;
  129. color: #2a5c45;
  130. min-width: 100px;
  131. }
  132. #custom-media.custom-spotify {
  133. background-color: #66cc99;
  134. }
  135. #custom-media.custom-vlc {
  136. background-color: #ffa000;
  137. }
  138. #temperature {
  139. background-color: #f0932b;
  140. }
  141. #temperature.critical {
  142. background-color: #eb4d4b;
  143. }
  144. #tray {
  145. background-color: #2980b9;
  146. }
  147. #idle_inhibitor {
  148. background-color: #2d3436;
  149. }
  150. #idle_inhibitor.activated {
  151. background-color: #ecf0f1;
  152. color: #2d3436;
  153. }
  154. #mpd {
  155. background-color: #66cc99;
  156. color: #2a5c45;
  157. }
  158. #mpd.disconnected {
  159. background-color: #f53c3c;
  160. }
  161. #mpd.stopped {
  162. background-color: #90b1b1;
  163. }
  164. #mpd.paused {
  165. background-color: #51a37a;
  166. }