Krolyxon
Commit 6b79a83

Branches

Refs →

aurora.configwaybarstyle.css

281 lines · 5.1 KB · CSS

1/*
2*
3* Catppuccin Mocha palette
4* Maintainer: rubyowo
5*
6*/
7@define-color base #1e1e2e;
8@define-color mantle #181825;
9@define-color crust #11111b;
10
11@define-color text #cdd6f4;
12@define-color subtext0 #a6adc8;
13@define-color subtext1 #bac2de;
14
15@define-color surface0 #313244;
16@define-color surface1 #45475a;
17@define-color surface2 #585b70;
18
19@define-color overlay0 #6c7086;
20@define-color overlay1 #7f849c;
21@define-color overlay2 #9399b2;
22
23@define-color blue #89b4fa;
24@define-color lavender #b4befe;
25@define-color sapphire #74c7ec;
26@define-color sky #89dceb;
27@define-color teal #94e2d5;
28@define-color green #a6e3a1;
29@define-color yellow #f9e2af;
30@define-color peach #fab387;
31@define-color maroon #eba0ac;
32@define-color red #f38ba8;
33@define-color mauve #cba6f7;
34@define-color pink #f5c2e7;
35@define-color flamingo #f2cdcd;
36@define-color rosewater #f5e0dc;
37
38* {
39font-family: "Fira Code", "FontAwesome";
40font-weight: bold;
41min-height: 0;
42/* set font-size to 100% if font scaling is set to 1.00 using nwg-look */
43font-size: 96%;
44font-feature-settings: '"zero", "ss01", "ss02", "ss03", "ss04", "ss05", "cv31"';
45/* padding: 0.03125rem; */
46}
47
48window#waybar {
49 transition-property: background-color;
50 transition-duration: 0.5s;
51 /* background: transparent; */
52 background: @base ;
53 /*border: 2px solid @overlay0;*/
54 /*background: @theme_base_color;*/
55 /* border-radius: 10px; */
56}
57
58window#waybar.hidden {
59 opacity: 0.2;
60}
61
62#waybar.empty #window {
63 background: none;
64}
65
66
67/**************/
68/* Workspaces */
69/**************/
70
71#workspaces {
72 /* border-radius: 8px; */
73 /* padding: 0 3px 0 8px; */
74 /* margin: 5px 5px 5px 0; */
75 transition: all 0.2s ease;
76}
77
78/* non-empty workspaces */
79#workspaces button {
80 background-color: @base;
81
82 border: none;
83 border-radius: 0;
84
85 color: @text;
86 transition: all 0.2s ease;
87 text-shadow: none;
88
89 /* center the icon, no clue why this is necessary */
90 padding-left: 5px;
91 padding-right: 10px;
92 /* padding-top: 1px; */
93
94 box-shadow: inset 0 -1px #e3e3e3;
95}
96
97/* the first and last buttons should be rounded */
98#workspaces button:first-child {
99 /* border-top-left-radius: 8px; */
100 /* border-bottom-left-radius: 8px; */
101}
102#workspaces button:last-child {
103 /* border-top-right-radius: 8px; */
104 /* border-bottom-right-radius: 8px; */
105}
106
107/* empty persistent workspaces */
108#workspaces button.empty {
109 background-color: @base;
110 box-shadow: none;
111}
112
113#workspaces button:hover {
114 /* transition-duration: .3s; */
115 color: @base;
116 background-color: #7da6ff;
117 box-shadow: inset 0 -1px #ffffff;
118 /* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
119 text-shadow: inherit;
120}
121
122/* non-empty persistent workspaces */
123#workspaces button.persistent {
124 background-color: #4c566a;
125}
126
127
128
129/* active or visible workspaces */
130#workspaces button.active,
131#workspaces button.visible {
132 /* background-color: #4c566a; */
133 color: @surface0;
134 background-color: #7da6ff;
135 /* box-shadow: inset 0 -4px #eceff4; */
136}
137
138#workspaces button.urgent {
139 color: #bf616a;
140}
141
142/**************/
143
144#mode {
145 background-color: #64727D;
146 border-bottom: 3px solid #ffffff;
147}
148
149#clock,
150#custom-date,
151#custom-gpumode,
152#battery,
153#backlight,
154#cpu,
155#memory,
156#disk,
157#temperature,
158#network,
159#pulseaudio,
160#wireplumber,
161#mpris,
162#custom-media,
163#tray,
164#window,
165#custom-notification,
166#mpd {
167 background-color: @base;
168 padding: 0 12px 0 12px;
169 margin-left: 10px;
170
171}
172
173/* If workspaces is the leftmost module, omit left margin */
174.modules-left>widget:first-child>#workspaces {
175 margin-left: 0;
176}
177
178/* If workspaces is the rightmost module, omit right margin */
179.modules-right>widget:last-child>#workspaces {
180 margin-right: 0;
181}
182
183#window {
184 color: @text
185}
186
187#clock {
188 color: @text;
189 box-shadow: inset 0 -1px #eceff4;
190}
191
192#custom-date {
193 color: #b48ead;
194 box-shadow: inset 0 -1px #b48ead;
195}
196
197#battery {
198 color: #ebcb8b;
199 box-shadow: inset 0 -1px #ebcb8b;
200}
201
202#backlight {
203 color: @teal;
204 box-shadow: inset 0 -1px @teal;
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 box-shadow: inset 0 -1px #bf616a;
231}
232
233#memory {
234 color: #a3be8c;
235 box-shadow: inset 0 -1px #a3be8c;
236}
237
238/* #disk {
239 background-color: #964B00;
240} */
241
242#network {
243 color: #5e81ac;
244}
245
246#network.disconnected {
247 color: #81a1c1;
248}
249
250#network.linked {
251 color: #bf616a;
252}
253
254#pulseaudio {
255 color: @text;
256 box-shadow: inset 0 -1px @text;
257}
258
259
260#temperature {
261 color: #d08770;
262}
263
264#temperature.critical {
265 color: #bf616a;
266}
267
268#tray {
269 color: @subtext0;
270 box-shadow: inset 0 -1px @subtext0;
271
272}
273
274#tray>.passive {
275 -gtk-icon-effect: dim;
276}
277
278#tray>.needs-attention {
279 -gtk-icon-effect: highlight;
280 background-color: #bf616a;
281}