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