style.css (5168B)
1 * {
2 border: none;
3 border-radius: 5px;
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
10 window#waybar {
11 background-color: transparent;
12 color: #ffffff;
13 transition-property: background-color;
14 transition-duration: .5s;
15 }
16
17 window#waybar.hidden {
18 opacity: 0.2;
19 }
20
21
22 #workspaces button {
23 background: #1f1f1f;
24 color: #ffffff;
25 border-radius: 20px;
26
27 }
28
29 /* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
30 #workspaces button:hover {
31 background: lightblue;
32 color: black;
33 border-bottom: 3px solid #ffffff;
34
35 }
36
37 #workspaces button.focused {
38 background: #1f1f1f;
39 }
40
41 #workspaces button.focused:hover {
42 background: lightblue;
43 color: black;
44 border-bottom: 3px solid #ffffff;
45
46 }
47
48 #workspaces button.urgent {
49 background-color: #eb4d4b;
50 }
51
52 #mode {
53 background-color: #64727D;
54 border-bottom: 3px solid #ffffff;
55 }
56
57 #clock,
58 #battery,
59 #cpu,
60 #memory,
61 #disk,
62 #temperature,
63 #backlight,
64 #network,
65 #pulseaudio,
66 #custom-media,
67 #custom-launcher,
68 #custom-power,
69 #custom-layout,
70 #custom-updater,
71 #custom-snip,
72 #custom-donotdisturb,
73 #custom-workspace,
74 #taskbar,
75 #tray,
76 #mode,
77 #idle_inhibitor,
78 #mpd {
79 padding: 0 10px;
80 color: #ffffff;
81 }
82
83 #window,
84 #workspaces {
85 margin: 0px 4px;
86 }
87
88 /* If workspaces is the leftmost module, omit left margin */
89 .modules-left > widget:first-child > #workspaces {
90 margin-left: 0px;
91 }
92
93 /* If workspaces is the rightmost module, omit right margin */
94 .modules-right > widget:last-child > #workspaces {
95 margin-right: 0px;
96 }
97
98 #clock {
99 background-color: #171717;
100 color: #ffffff;
101 }
102
103 #battery {
104 background-color: #ffffff;
105 color: #000000;
106 }
107
108 #battery.charging, #battery.plugged {
109 color: #ffffff;
110 background-color: #26A65B;
111 }
112
113 @keyframes blink {
114 to {
115 background-color: #ffffff;
116 color: #000000;
117 }
118 }
119
120 #battery.critical:not(.charging) {
121 background-color: #f53c3c;
122 color: #ffffff;
123 animation-name: blink;
124 animation-duration: 0.5s;
125 animation-timing-function: linear;
126 animation-iteration-count: infinite;
127 animation-direction: alternate;
128 }
129
130 label:focus {
131 background-color: #000000;
132 }
133
134 #cpu {
135 background-color: #171717;
136 color: #ffffff;
137 }
138
139 #memory {
140 background-color: #171717;
141 color: #ffffff;
142 }
143
144 #disk {
145 background-color: #171717;
146 color: #ffffff;
147 }
148
149 #backlight {
150 background-color: #171717;
151 color: #ffffff;
152 }
153
154 #network {
155 background-color: #171717;
156 color: #ffffff;
157 }
158
159 #network.disconnected {
160 background-color: #171717;
161 color: red;
162 }
163
164 #pulseaudio {
165 background-color: #171717;
166 color: #ffffff;
167 }
168
169 #pulseaudio.muted {
170 background-color: #171717;
171 color: red;
172 }
173
174 #custom-media {
175 background-color: #8EC5FC;
176 background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
177 color: black;
178 border-radius: 20px;
179 margin-right: 5px;
180 margin-left: 5px;
181 }
182
183 #custom-media.custom-spotify {
184 background-color: #8EC5FC;
185 background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
186 color: black;
187 border-radius: 20px;
188 margin-right: 5px;
189
190 }
191
192 #custom-media.custom-vlc {
193 background-color: #8EC5FC;
194 background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
195 color: black;
196 border-radius: 20px;
197 margin-right: 5px;
198 }
199
200 #custom-power{
201 background-color: #171717;
202 font-size: 18px;
203 border-radius: 0px 20px 20px 0px;
204 margin-right: 5px;
205 }
206
207 #custom-launcher{
208 background-color: #171717;
209 font-size: 20px;
210 border-radius: 20px 0px 0px 20px;
211 margin-left: 5px;
212
213 }
214
215 #custom-layout{
216 background-color: #171717;
217 color: white;
218 font-size:20px;
219 }
220
221 #custom-updater {
222 background-color: #171717;
223 color: white;
224 }
225
226 #custom-snip {
227 background-color: #171717;
228 color: skyblue;
229 font-size: 20px;
230 }
231
232 #custom-donotdisturb {
233 background-color: #171717;
234 color: skyblue;
235 border-radius: 20px 0px 0px 20px;
236 }
237
238 #custom-workspace {
239 background-color: #171717;
240 color: #fff;
241 font-size: 20px;
242 }
243
244 #taskbar{
245 background-color: #171717;
246 border-radius: 0px 20px 20px 0px;
247 }
248
249 #temperature {
250 background-color: #171717;
251 color: #ffffff;
252 }
253
254 #temperature.critical {
255 background-color: #eb4d4b;
256 }
257
258 #tray {
259 background-color: #171717;
260 color: #ffffff;
261 }
262
263 #tray > .passive {
264 -gtk-icon-effect: dim;
265 background-color: #171717;
266 color: #ffffff;
267 }
268
269 #tray > .needs-attention {
270 -gtk-icon-effect: highlight;
271 background-color: #171717;
272 color: #ffffff;
273 }
274
275 #idle_inhibitor {
276 background-color: #171717;
277 /* border-radius: 20px 0px 0px 20px; */
278
279 }
280
281 #idle_inhibitor.activated {
282 background-color: #171717;
283 color: #ffffff;
284 /* border-radius: 20px 0px 0px 20px; */
285
286 }
287
288 #language {
289 background-color: #171717;
290 color: #ffffff;
291 min-width: 16px;
292 }
293
294 #keyboard-state {
295 background: #97e1ad;
296 color: #000000;
297 min-width: 16px;
298 }
299
300 #keyboard-state > label {
301 padding: 0px 5px;
302 }
303
304 #keyboard-state > label.locked {
305 background: rgba(0, 0, 0, 0.2);
306 }