Krolyxon
Commit 1b1f064

Branches

Refs →

dotfiles-x11.configwaybarstyle.css

288 lines · 5.1 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: @base;
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 -1px #e3e3e3;
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: @base;
129 box-shadow: inset 0 -3px #e3e3e3;
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: @base;
142 box-shadow: none;
143}
144
145/* active or visible workspaces */
146#workspaces button.active,
147#workspaces button.visible {
148 /* background-color: #4c566a; */
149 color: @crust;
150 background-color: #7da6ff;
151 /* box-shadow: inset 0 -4px #eceff4; */
152}
153
154#workspaces button.urgent {
155 color: #bf616a;
156}
157
158/**************/
159
160#mode {
161 background-color: #64727D;
162 border-bottom: 3px solid #ffffff;
163}
164
165#clock,
166#custom-date,
167#battery,
168#backlight,
169#cpu,
170#memory,
171#disk,
172#temperature,
173#network,
174#pulseaudio,
175#wireplumber,
176#mpris,
177#custom-media,
178#tray,
179#window,
180#custom-notification,
181#mpd {
182 background-color: @base;
183 border-radius: 8px;
184 padding: 0 12px 0 12px;
185 margin: 5px 5px 5px 0;
186}
187
188/* If workspaces is the leftmost module, omit left margin */
189.modules-left>widget:first-child>#workspaces {
190 margin-left: 0;
191}
192
193/* If workspaces is the rightmost module, omit right margin */
194.modules-right>widget:last-child>#workspaces {
195 margin-right: 0;
196}
197
198#window {
199 color: #e3e3e3
200}
201
202#clock {
203 color: #eceff4;
204}
205
206#custom-date {
207 color: #b48ead;
208}
209
210#battery {
211 color: #ebcb8b;
212}
213
214#backlight {
215 color: @teal
216}
217
218@keyframes blink {
219 to {
220 background-color: #ffffff;
221 color: black;
222 }
223}
224
225#battery.critical:not(.charging) {
226 background-color: #bf616a;
227 color: #ffffff;
228 animation-name: blink;
229 animation-duration: 0.5s;
230 animation-timing-function: linear;
231 animation-iteration-count: infinite;
232 animation-direction: alternate;
233}
234
235label:focus {
236 background-color: black;
237}
238
239#cpu {
240 color: #bf616a;
241}
242
243#memory {
244 color: #a3be8c;
245}
246
247/* #disk {
248 background-color: #964B00;
249} */
250
251#network {
252 color: #5e81ac;
253}
254
255#network.disconnected {
256 color: #81a1c1;
257}
258
259#network.linked {
260 color: #bf616a;
261}
262
263#pulseaudio {
264 color: #d8dee9;
265}
266
267
268#temperature {
269 color: #d08770;
270}
271
272#temperature.critical {
273 color: #bf616a;
274}
275
276#tray {
277 color: #eceff4;
278
279}
280
281#tray>.passive {
282 -gtk-icon-effect: dim;
283}
284
285#tray>.needs-attention {
286 -gtk-icon-effect: highlight;
287 background-color: #bf616a;
288}