Krolyxon
Commit 7cbc575

Branches

Refs →

dotfiles-x11.configwaybarstyle.css

370 lines · 6.4 KB · CSS

1/*
2*
3* Catppuccin Mocha palette
4* Maintainer: rubyowo
5*
6*/
7
8@define-color base #1e1e2e;
9@define-color mantle #181825;
10@define-color crust #11111b;
11
12@define-color text #cdd6f4;
13@define-color subtext0 #a6adc8;
14@define-color subtext1 #bac2de;
15
16@define-color surface0 #313244;
17@define-color surface1 #45475a;
18@define-color surface2 #585b70;
19
20@define-color overlay0 #6c7086;
21@define-color overlay1 #7f849c;
22@define-color overlay2 #9399b2;
23
24@define-color blue #89b4fa;
25@define-color lavender #b4befe;
26@define-color sapphire #74c7ec;
27@define-color sky #89dceb;
28@define-color teal #94e2d5;
29@define-color green #a6e3a1;
30@define-color yellow #f9e2af;
31@define-color peach #fab387;
32@define-color maroon #eba0ac;
33@define-color red #f38ba8;
34@define-color mauve #cba6f7;
35@define-color pink #f5c2e7;
36@define-color flamingo #f2cdcd;
37@define-color rosewater #f5e0dc;
38
39
40
41
42/* * { */
43 /* `otf-font-awesome` is required to be installed for icons */
44/* font-family: JetBrains Mono Nerd Font, FontAwesome; */
45/* font-size: 13px; */
46/* font-weight: bold; */
47/* } */
48
49* {
50font-family: "JetBrainsMono Nerd Font";
51font-weight: bold;
52min-height: 0;
53/* set font-size to 100% if font scaling is set to 1.00 using nwg-look */
54font-size: 97%;
55font-feature-settings: '"zero", "ss01", "ss02", "ss03", "ss04", "ss05", "cv31"';
56padding: 0.03125rem;
57}
58
59/* window#waybar { */
60/* background-color: rgba(0, 0, 0, 0); */
61/* color: #e3e3e3; */
62/* transition-property: background-color; */
63/* transition-duration: .5s; */
64/* border: none; */
65/* border-radius: 0; */
66/* } */
67
68window#waybar {
69 transition-property: background-color;
70 transition-duration: 0.5s;
71 background: transparent;
72 /*border: 2px solid @overlay0;*/
73 /*background: @theme_base_color;*/
74 border-radius: 10px;
75}
76
77window#waybar.hidden {
78 opacity: 0.2;
79}
80
81#waybar.empty #window {
82 background: none;
83}
84
85
86/**************/
87/* Workspaces */
88/**************/
89
90#workspaces {
91 /* border-radius: 8px; */
92 padding: 0 3px 0 8px;
93 margin: 5px 5px 5px 0;
94 transition: all 0.2s ease;
95}
96
97/* non-empty workspaces */
98#workspaces button {
99 background-color: #2e3440;
100
101 border: none;
102 border-radius: 0;
103
104 color: #d8dee9;
105 transition: all 0.2s ease;
106 text-shadow: none;
107
108 /* center the icon, no clue why this is necessary */
109 padding-left: 5px;
110 padding-right: 10px;
111 padding-top: 1px;
112
113 box-shadow: inset 0 -2px #eceff4;
114}
115
116/* the first and last buttons should be rounded */
117#workspaces button:first-child {
118 border-top-left-radius: 8px;
119 border-bottom-left-radius: 8px;
120}
121#workspaces button:last-child {
122 border-top-right-radius: 8px;
123 border-bottom-right-radius: 8px;
124}
125
126#workspaces button:hover {
127 transition-duration: .2s;
128 color: #2e3440;
129 box-shadow: inset 0 -3px #ffffff;
130 /* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
131 text-shadow: inherit;
132}
133
134/* non-empty persistent workspaces */
135#workspaces button.persistent {
136 background-color: #4c566a;
137}
138
139/* empty persistent workspaces */
140#workspaces button.empty {
141 background-color: #2e3440;
142 box-shadow: none;
143}
144
145/* active or visible workspaces */
146#workspaces button.active,
147#workspaces button.visible {
148 background-color: #4c566a;
149 /* box-shadow: inset 0 -4px #eceff4; */
150}
151
152#workspaces button.urgent {
153 color: #bf616a;
154}
155
156/**************/
157
158#mode {
159 background-color: #64727D;
160 border-bottom: 3px solid #ffffff;
161}
162
163#clock,
164#custom-date,
165#battery,
166#cpu,
167#memory,
168#disk,
169#temperature,
170#backlight,
171#network,
172#pulseaudio,
173#wireplumber,
174#mpris,
175#custom-media,
176#tray,
177#custom-notification,
178#mpd {
179 background-color: #2e3440;
180 border-radius: 8px;
181 padding: 0 12px 0 12px;
182 margin: 5px 5px 5px 0;
183}
184
185/* If workspaces is the leftmost module, omit left margin */
186.modules-left>widget:first-child>#workspaces {
187 margin-left: 0;
188}
189
190/* If workspaces is the rightmost module, omit right margin */
191.modules-right>widget:last-child>#workspaces {
192 margin-right: 0;
193}
194
195#clock {
196 color: #eceff4;
197}
198
199#custom-date {
200 color: #b48ead;
201}
202
203#battery {
204 color: #ebcb8b;
205}
206
207@keyframes blink {
208 to {
209 background-color: #ffffff;
210 color: black;
211 }
212}
213
214#battery.critical:not(.charging) {
215 background-color: #bf616a;
216 color: #ffffff;
217 animation-name: blink;
218 animation-duration: 0.5s;
219 animation-timing-function: linear;
220 animation-iteration-count: infinite;
221 animation-direction: alternate;
222}
223
224label:focus {
225 background-color: black;
226}
227
228#cpu {
229 color: #bf616a;
230}
231
232#memory {
233 color: #a3be8c;
234}
235
236/* #disk {
237 background-color: #964B00;
238} */
239
240/* #backlight {
241 background-color: #90b1b1;
242} */
243
244#network {
245 color: #5e81ac;
246}
247
248#network.disconnected {
249 color: #81a1c1;
250}
251
252#network.linked {
253 color: #bf616a;
254}
255
256#pulseaudio {
257 color: #d8dee9;
258}
259
260#mpris,
261#custom-media {
262 background-color: #66cc99;
263 color: black;
264}
265
266#mpris.firefox,
267#custom-media.firefox {
268 background-color: #FF9500;
269 color: black;
270}
271
272#mpris.spotify,
273#custom-media.spotify {
274 background-color: #66cc99;
275 color: #191414;
276}
277
278#mpris.vlc,
279#custom-media.vlc {
280 background-color: #E85E00;
281 color: black;
282}
283
284#mpris.jellyfin,
285#custom-media.jellyfin {
286 /* https://jellyfin.org/docs/general/contributing/branding */
287 color: #000B25;
288 background-color: #AA5CC3;
289}
290
291
292
293#temperature {
294 color: #d08770;
295}
296
297#temperature.critical {
298 color: #bf616a;
299}
300
301#tray {
302 color: #eceff4;
303}
304
305#tray>.passive {
306 -gtk-icon-effect: dim;
307}
308
309#tray>.needs-attention {
310 -gtk-icon-effect: highlight;
311 background-color: #bf616a;
312}
313
314/* #idle_inhibitor {
315 background-color: #2d3436;
316} */
317
318/* #idle_inhibitor.activated {
319 background-color: #ecf0f1;
320 color: #2d3436;
321} */
322
323/* #mpd {
324 background-color: #66cc99;
325 color: #2a5c45;
326}
327
328#mpd.disconnected {
329 background-color: #bf616a;
330}
331
332#mpd.stopped {
333 background-color: #90b1b1;
334}
335
336#mpd.paused {
337 background-color: #51a37a;
338} */
339
340/* #language {
341 background: #00b093;
342 color: #740864;
343 padding: 0 5px;
344 margin: 0 5px;
345 min-width: 16px;
346} */
347
348/* #keyboard-state {
349 background: #97e1ad;
350 color: black;
351 padding: 0 0px;
352 margin: 0 5px;
353 min-width: 16px;
354}
355
356#keyboard-state > label {
357 padding: 0 5px;
358}
359
360#keyboard-state > label.locked {
361 background: rgba(0, 0, 0, 0.2);
362}
363
364#scratchpad {
365 background: rgba(0, 0, 0, 0.2);
366}
367
368#scratchpad.empty {
369 background-color: transparent;
370} */