Krolyxon
Commit 35d4d85

Branches

Refs →

aurora.configwaybarstyle.css

214 lines · 3.7 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-notification,
109#mpd {
110 background-color: @background;
111 padding: 0 12px 0 12px;
112 margin-left: 10px;
113
114}
115
116#custom-cpucat {
117 font-family: "Waycat", monospace;
118 font-size: 14px;
119 font-weight: bold;
120 color: @foreground;
121 padding: 0 12px 0 12px;
122}
123
124/* If workspaces is the leftmost module, omit left margin */
125.modules-left>widget:first-child>#workspaces {
126 margin-left: 0;
127}
128
129/* If workspaces is the rightmost module, omit right margin */
130.modules-right>widget:last-child>#workspaces {
131 margin-right: 0;
132}
133
134#window {
135 color: @foreground
136}
137
138#clock {
139 color: @foreground;
140 box-shadow: inset 0 -1px @color14;
141}
142
143#custom-date {
144 color: @foreground;
145 box-shadow: inset 0 -1px @color14;
146}
147
148#custom-gpumode{
149 color: @foreground;
150 box-shadow: inset 0 -1px @color14;
151}
152
153
154#battery {
155 color: @foreground;
156 box-shadow: inset 0 -1px @color14;
157}
158
159#backlight {
160 color: @foreground;
161 box-shadow: inset 0 -1px @color14;
162}
163
164@keyframes blink {
165 to {
166 background-color: #ffffff;
167 color: black;
168 }
169}
170
171#battery.critical:not(.charging) {
172 background-color: @color5;
173 color: @foreground;
174 animation-name: blink;
175 animation-duration: 0.5s;
176 animation-timing-function: linear;
177 animation-iteration-count: infinite;
178 animation-direction: alternate;
179}
180
181label:focus {
182 background-color: black;
183}
184
185#cpu {
186 color: @foreground;
187 box-shadow: inset 0 -1px @color14;
188}
189
190#memory {
191 color: @foreground;
192 box-shadow: inset 0 -1px @color14;
193}
194
195#pulseaudio {
196 color: @foreground;
197 box-shadow: inset 0 -1px @color14;
198}
199
200
201#tray {
202 color: @color15;
203 box-shadow: inset 0 -1px @subtext0;
204
205}
206
207#tray>.passive {
208 -gtk-icon-effect: dim;
209}
210
211#tray>.needs-attention {
212 -gtk-icon-effect: highlight;
213 background-color: #bf616a;
214}