Krolyxon
Commit 3718ac5

Branches

Refs →

dotfiles-x11.configwaybarstyle.css

301 lines · 4.8 KB · CSS

1* {
2 /* `otf-font-awesome` is required to be installed for icons */
3 font-family: JetBrains Mono Nerd Font, FontAwesome;
4 font-size: 13px;
5 font-weight: bold;
6}
7
8window#waybar {
9 background-color: rgba(0, 0, 0, 0);
10 color: #e3e3e3;
11 transition-property: background-color;
12 transition-duration: .5s;
13 border: none;
14 border-radius: 0;
15}
16
17/**************/
18/* Workspaces */
19/**************/
20
21#workspaces {
22 /* border-radius: 8px; */
23 padding: 0 3px 0 8px;
24 margin: 5px 5px 5px 0;
25 transition: all 0.2s ease;
26}
27
28/* non-empty workspaces */
29#workspaces button {
30 background-color: #2e3440;
31
32 border: none;
33 border-radius: 0;
34
35 color: #d8dee9;
36 transition: all 0.2s ease;
37 text-shadow: none;
38
39 /* center the icon, no clue why this is necessary */
40 padding-left: 5px;
41 padding-right: 10px;
42 padding-top: 1px;
43
44 box-shadow: inset 0 -2px #eceff4;
45}
46
47/* the first and last buttons should be rounded */
48#workspaces button:first-child {
49 border-top-left-radius: 8px;
50 border-bottom-left-radius: 8px;
51}
52#workspaces button:last-child {
53 border-top-right-radius: 8px;
54 border-bottom-right-radius: 8px;
55}
56
57#workspaces button:hover {
58 transition-duration: .2s;
59 color: #2e3440;
60 box-shadow: inset 0 -3px #ffffff;
61 /* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
62 text-shadow: inherit;
63}
64
65/* non-empty persistent workspaces */
66#workspaces button.persistent {
67 background-color: #4c566a;
68}
69
70/* empty persistent workspaces */
71#workspaces button.empty {
72 background-color: #2e3440;
73 box-shadow: none;
74}
75
76/* active or visible workspaces */
77#workspaces button.active,
78#workspaces button.visible {
79 background-color: #4c566a;
80 /* box-shadow: inset 0 -4px #eceff4; */
81}
82
83#workspaces button.urgent {
84 color: #bf616a;
85}
86
87/**************/
88
89#mode {
90 background-color: #64727D;
91 border-bottom: 3px solid #ffffff;
92}
93
94#clock,
95#custom-date,
96#battery,
97#cpu,
98#memory,
99#disk,
100#temperature,
101#backlight,
102#network,
103#pulseaudio,
104#wireplumber,
105#mpris,
106#custom-media,
107#tray,
108#custom-notification,
109#mpd {
110 background-color: #2e3440;
111 border-radius: 8px;
112 padding: 0 12px 0 12px;
113 margin: 5px 5px 5px 0;
114}
115
116/* If workspaces is the leftmost module, omit left margin */
117.modules-left>widget:first-child>#workspaces {
118 margin-left: 0;
119}
120
121/* If workspaces is the rightmost module, omit right margin */
122.modules-right>widget:last-child>#workspaces {
123 margin-right: 0;
124}
125
126#clock {
127 color: #eceff4;
128}
129
130#custom-date {
131 color: #b48ead;
132}
133
134#battery {
135 color: #ebcb8b;
136}
137
138@keyframes blink {
139 to {
140 background-color: #ffffff;
141 color: black;
142 }
143}
144
145#battery.critical:not(.charging) {
146 background-color: #bf616a;
147 color: #ffffff;
148 animation-name: blink;
149 animation-duration: 0.5s;
150 animation-timing-function: linear;
151 animation-iteration-count: infinite;
152 animation-direction: alternate;
153}
154
155label:focus {
156 background-color: black;
157}
158
159#cpu {
160 color: #bf616a;
161}
162
163#memory {
164 color: #a3be8c;
165}
166
167/* #disk {
168 background-color: #964B00;
169} */
170
171/* #backlight {
172 background-color: #90b1b1;
173} */
174
175#network {
176 color: #5e81ac;
177}
178
179#network.disconnected {
180 color: #81a1c1;
181}
182
183#network.linked {
184 color: #bf616a;
185}
186
187#pulseaudio {
188 color: #d8dee9;
189}
190
191#mpris,
192#custom-media {
193 background-color: #66cc99;
194 color: black;
195}
196
197#mpris.firefox,
198#custom-media.firefox {
199 background-color: #FF9500;
200 color: black;
201}
202
203#mpris.spotify,
204#custom-media.spotify {
205 background-color: #66cc99;
206 color: #191414;
207}
208
209#mpris.vlc,
210#custom-media.vlc {
211 background-color: #E85E00;
212 color: black;
213}
214
215#mpris.jellyfin,
216#custom-media.jellyfin {
217 /* https://jellyfin.org/docs/general/contributing/branding */
218 color: #000B25;
219 background-color: #AA5CC3;
220}
221
222
223
224#temperature {
225 color: #d08770;
226}
227
228#temperature.critical {
229 color: #bf616a;
230}
231
232#tray {
233 color: #eceff4;
234}
235
236#tray>.passive {
237 -gtk-icon-effect: dim;
238}
239
240#tray>.needs-attention {
241 -gtk-icon-effect: highlight;
242 background-color: #bf616a;
243}
244
245/* #idle_inhibitor {
246 background-color: #2d3436;
247} */
248
249/* #idle_inhibitor.activated {
250 background-color: #ecf0f1;
251 color: #2d3436;
252} */
253
254/* #mpd {
255 background-color: #66cc99;
256 color: #2a5c45;
257}
258
259#mpd.disconnected {
260 background-color: #bf616a;
261}
262
263#mpd.stopped {
264 background-color: #90b1b1;
265}
266
267#mpd.paused {
268 background-color: #51a37a;
269} */
270
271/* #language {
272 background: #00b093;
273 color: #740864;
274 padding: 0 5px;
275 margin: 0 5px;
276 min-width: 16px;
277} */
278
279/* #keyboard-state {
280 background: #97e1ad;
281 color: black;
282 padding: 0 0px;
283 margin: 0 5px;
284 min-width: 16px;
285}
286
287#keyboard-state > label {
288 padding: 0 5px;
289}
290
291#keyboard-state > label.locked {
292 background: rgba(0, 0, 0, 0.2);
293}
294
295#scratchpad {
296 background: rgba(0, 0, 0, 0.2);
297}
298
299#scratchpad.empty {
300 background-color: transparent;
301} */