1- @define-color base-bg @background ;
2- @define-color accent @foreground ;
31@import "../theme/waybar.css" ;
42
5- @define-color hover-bg alpha(@background , 0.7);
6- @define-color warning # e5c07b;
7- @define-color critical # e06c75;
8- @define-color inactive # 6a7a71;
9-
103* {
4+ background-color: @background ;
115 color: @foreground ;
6+
127 border : none;
13- border-radius : 0 ;
14- font-family : 'CaskaydiaMono Nerd Font' ;
15- font-size : 12px ;
16- font-weight : bold;
8+ border-radius : 10px ;
9+ padding : 2px 2px ;
1710 min-height : 0 ;
11+ font-family : CaskaydiaMono Nerd Font;
12+ font-weight : bold;
13+ font-size : 14px ;
1814}
1915
20- window # waybar {
21- background : transparent;
22- margin-top : 10px ;
16+ .modules-left {
17+ margin-left : 8px ;
2318}
2419
25- .modules-left ,
2620.modules-right {
27- margin-left : 8px ;
28- /* Original margin + 2px */
2921 margin-right : 8px ;
30- /* Original margin + 2px */
3122}
3223
3324# workspaces button {
@@ -41,162 +32,39 @@ window#waybar {
4132 opacity : 0.5 ;
4233}
4334
44- /* --- General Module Styles --- */
35+ # custom-weather ,
36+ # memory ,
37+ # custom-update ,
4538# backlight ,
4639# window ,
4740# mpris ,
48- # cpu ,
49- # memory ,
50- # temperature ,
51- # custom-update ,
5241# tray ,
53- # bluetooth ,
42+ # cpu ,
43+ # battery ,
5444# network ,
45+ # bluetooth ,
5546# pulseaudio ,
56- # battery ,
47+ # clock ,
5748# custom-omarchy ,
58- # clock {
59- background-color: @background ;
60- color: @foreground ;
61- padding : 0 10px ;
62- margin : 5px 0 ;
63- transition : background-color 0.3s ease;
64- }
65-
66- # cpu : hover ,
67- # memory : hover ,
68- # temperature : hover ,
69- # custom-update : hover ,
70- # bluetooth : hover ,
71- # network : hover ,
72- # pulseaudio : hover ,
73- # battery : hover ,
74- # custom-omarchy : hover {
75- background-color: @hover-bg ;
76- }
77-
78- /* --- Specific Module Styles & Overrides --- */
79- # window {
80- margin : 5px 0 ;
81- padding : 0 10px ;
82- border-radius : 16px ;
83- margin-left : 5px ;
84- }
85-
86- # mpris {
87- margin : 5px 0 ;
88- padding : 0 10px ;
89- border-radius : 16px ;
90- margin-right : 5px ;
91- }
92-
93- window # waybar .empty # window {
94- background : transparent;
95- padding : 0 ;
96- margin-left : 0 ;
97- }
98-
99- mpris # waybar .empty # mpris {
100- background : transparent;
101- padding : 0 ;
102- margin-right : 0 ;
103- }
104-
105- # custom-update {
106- border-radius : 16px ;
107- margin-left : 10px ;
108- padding-right : 12px ;
109- }
110-
49+ # workspaces ,
11150# tray-expander {
112- background: @background ;
113- margin : 5px 0 ;
114- border-top-left-radius : 16px ;
115- border-bottom-left-radius : 16px ;
116- padding-left : 10px ;
51+ min-width : 12px ;
52+ margin : 0 7.5px ;
11753}
11854
119- # battery {
120- margin : 5px 0 ;
121- border-top-right-radius : 16px ;
122- border-bottom-right-radius : 16px ;
123- padding-left : 10px ;
55+ # custom-expand-icon {
56+ margin-right : -4px ;
57+ padding : 1px ;
12458}
12559
126- # tray {
127- padding-left : 10 px ;
60+ tooltip {
61+ padding : 2 px ;
12862}
12963
130- # custom-omarchy {
131- border-radius : 16px ;
132- margin-right : 5px ;
64+ # custom-update {
65+ font-size : 10px ;
13366}
13467
13568# clock {
136- border-radius : 16px ;
137- padding-right : 10px ;
138- }
139-
140- # workspaces {
141- background-color: @background ;
142- color: @foreground ;
143- margin : 5px 0 ;
144- transition : background-color 0.3s ease;
145- border-radius : 16px ;
146- padding : 0 3px ;
147- }
148-
149- # workspaces button {
150- background : transparent;
151- padding : 0 6px ;
152- border-radius : 10px ;
153- }
154-
155- # workspaces button : hover {
156- background-color : alpha (# B9F6CA, 0.1 );
157- }
158-
159- /* --- Module States --- */
160- # network .disconnected ,
161- # bluetooth .disabled ,
162- # pulseaudio .muted {
163- color: @critical ;
164- }
165-
166- # battery .warning : not (.charging ) {
167- color: @warning ;
168- }
169-
170- # battery .charging ,
171- # battery .plugged {
172- color: @accent ;
173- }
174-
175- @keyframes blink {
176- to {
177- background-color: @critical ;
178- color: @base-bg ;
179- }
180- }
181-
182- # battery .critical : not (.charging ) {
183- background-color: @critical ;
184- color: @base-bg ;
185- animation-name : blink;
186- animation-duration : 0.5s ;
187- animation-timing-function : linear;
188- animation-iteration-count : infinite;
189- animation-direction : alternate;
190- }
191-
192- /* --- Tooltip --- */
193- tooltip {
194- background-color: @background ;
195- border-radius : 16px ;
196- padding : 8px 12px ;
197- opacity : 0.9 ;
198- }
199-
200- tooltip label {
201- color: @foreground ;
69+ margin-left : 8.75px ;
20270}
0 commit comments