Krolyxon
Commit a03ac88

Branches

Refs →

aurora.configwaybarstyle.css

221 lines · 3.8 KB · CSS

1@import url('../../.cache/wal/colors-waybar.css');
2
3* {
4font-family: "Jetbrains Mono Nerd", "FontAwesome";
5font-weight: bold;
6min-height: 0;
7font-size: 96%;
8font-feature-settings: '"zero", "ss01", "ss02", "ss03", "ss04", "ss05", "cv31"';
9/* padding: 0.03125rem; */
10}
11
12window#waybar {
13 transition-property: background-color;
14 transition-duration: 0.5s;
15 background: @background;
16}
17
18window#waybar.hidden {
19 opacity: 0.2;
20}
21
22#waybar.empty #window {
23 background: none;
24}
25
26
27/**************/
28/* Workspaces */
29/**************/
30
31#workspaces {
32 transition: all 0.2s ease;
33}
34
35/* non-empty workspaces */
36#workspaces button {
37 background-color: @background;
38 border: none;
39 border-radius: 0;
40 color: @foreground;
41 transition: all 0.2s ease;
42 text-shadow: none;
43
44 /* center the icon, no clue why this is necessary */
45 padding-left: 5px;
46 padding-right: 10px;
47 /* padding-top: 1px; */
48
49 box-shadow: inset 0 -1px @cursor;
50}
51
52
53/* empty persistent workspaces */
54#workspaces button.empty {
55 background-color: @background;
56 box-shadow: none;
57}
58
59#workspaces button:hover {
60 /* transition-duration: .3s; */
61 color: @background;
62 background-color: @color14;
63 box-shadow: inset 0 -1px @foreground;
64 /* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
65 text-shadow: inherit;
66}
67
68/* non-empty persistent workspaces */
69#workspaces button.persistent {
70 background-color: @color0;
71}
72
73
74
75/* active or visible workspaces */
76#workspaces button.active,
77#workspaces button.visible {
78 color: @color0;
79 background-color: @color14;
80}
81
82#workspaces button.urgent {
83 color: @color3;
84}
85
86/**************/
87
88#mode {
89 background-color: @color2;
90 border-bottom: 3px solid @foreground;
91}
92
93#clock,
94#custom-date,
95#custom-gpumode,
96#battery,
97#backlight,
98#cpu,
99#memory,
100#disk,
101#temperature,
102#pulseaudio,
103#wireplumber,
104#mpris,
105#custom-media,
106#tray,
107#window,
108#custom-headset-battery,
109#custom-notification,
110#mpd {
111 background-color: @background;
112 padding: 0 12px 0 12px;
113 margin-left: 10px;
114
115}
116
117#custom-cpucat {
118 font-family: "Waycat", monospace;
119 font-size: 14px;
120 font-weight: bold;
121 color: @foreground;
122 padding: 0 12px 0 12px;
123}
124
125/* If workspaces is the leftmost module, omit left margin */
126.modules-left>widget:first-child>#workspaces {
127 margin-left: 0;
128}
129
130/* If workspaces is the rightmost module, omit right margin */
131.modules-right>widget:last-child>#workspaces {
132 margin-right: 0;
133}
134
135#window {
136 color: @foreground
137}
138
139#clock {
140 color: @foreground;
141 box-shadow: inset 0 -1px @color14;
142}
143
144#custom-date {
145 color: @foreground;
146 box-shadow: inset 0 -1px @color14;
147}
148
149#custom-gpumode{
150 color: @foreground;
151 box-shadow: inset 0 -1px @color14;
152}
153
154
155#battery {
156 color: @foreground;
157 box-shadow: inset 0 -1px @color14;
158}
159
160#backlight {
161 color: @foreground;
162 box-shadow: inset 0 -1px @color14;
163}
164
165#custom-headset-battery {
166 color: @foreground;
167 box-shadow: inset 0 -1px @color14;
168}
169
170
171@keyframes blink {
172 to {
173 background-color: #ffffff;
174 color: black;
175 }
176}
177
178#battery.critical:not(.charging) {
179 background-color: @color5;
180 color: @foreground;
181 animation-name: blink;
182 animation-duration: 0.5s;
183 animation-timing-function: linear;
184 animation-iteration-count: infinite;
185 animation-direction: alternate;
186}
187
188label:focus {
189 background-color: black;
190}
191
192#cpu {
193 color: @foreground;
194 box-shadow: inset 0 -1px @color14;
195}
196
197#memory {
198 color: @foreground;
199 box-shadow: inset 0 -1px @color14;
200}
201
202#pulseaudio {
203 color: @foreground;
204 box-shadow: inset 0 -1px @color14;
205}
206
207
208#tray {
209 color: @color15;
210 box-shadow: inset 0 -1px @subtext0;
211
212}
213
214#tray>.passive {
215 -gtk-icon-effect: dim;
216}
217
218#tray>.needs-attention {
219 -gtk-icon-effect: highlight;
220 background-color: #bf616a;
221}