1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
|
/* Nord Theme Colors */
@define-color nord0 #2e3440;
@define-color nord1 #3b4252;
@define-color nord2 #434c5e;
@define-color nord3 #4c566a;
@define-color nord4 #d8dee9;
@define-color nord5 #e5e9f0;
@define-color nord6 #eceff4;
@define-color nord7 #8fbcbb;
@define-color nord8 #88c0d0;
@define-color nord9 #81a1c1;
@define-color nord10 #5e81ac;
@define-color nord11 #bf616a;
@define-color nord13 #ebcb8b;
/* Base styles */
* {
font-family: 'Iosevka Nerd Font', monospace;
font-size: 18px;
border: none;
border-radius: 8px;
margin: 0;
padding: 0;
min-height: 0;
transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.2s ease-in-out;
}
#waybar {
background-color: transparent;
color: @nord5;
}
#systemd-failed-units, #temperature, #load, #privacy, #mpris,
#workspaces, #window, #cpu, #memory, #battery, #backlight,
#wireplumber, #network, #bluetooth, #clock, #tray,
#custom-startmenu, #custom-exit, #custom-weather, #idle_inhibitor, #custom-timer,
#language, #keyboard-state {
background-color: rgba(46, 52, 64, 0.9); /* nord0 with opacity */
color: @nord5;
padding: 0 12px;
margin: 4px 2px;
border-radius: 8px;
}
/* Module grouping */
#wireplumber {
margin-right: 8px; /* Separate from system-status group */
}
#group-system-status > * {
background-color: @nord2;
margin: 4px 1px;
}
#network, #bluetooth {
background-color: @nord3;
margin-left: 8px; /* Separate network group */
}
/* Module-specific colors and styles */
#workspaces button {
color: @nord7;
font-size: 16px;
padding: 0 8px;
border-radius: 8px;
}
#workspaces button.visible {
color: @nord8;
background-color: @nord1;
}
#workspaces button:hover {
background-color: @nord2;
color: @nord6;
opacity: 0.9;
}
#workspaces button.active {
color: @nord6;
}
#cpu { color: @nord9; }
#memory { color: @nord7; }
#battery { color: @nord7; }
#mpris { color: @nord7; }
#backlight { color: @nord9; }
#wireplumber { color: @nord9; }
#network { color: @nord7; min-width: 220px; } /* Fixed width for consistent alignment */
#bluetooth { color: @nord10; }
#language {
color: @nord10;
min-width: 40px; /* Ensure visibility */
background-color: rgba(46, 52, 64, 0.9); /* Explicit nord0 background */
}
#keyboard-state { color: @nord10; }
#custom-weather { color: @nord7; }
#clock { background-color: @nord1; }
#custom-startmenu, #custom-exit, #idle_inhibitor {
font-size: 16px;
}
#custom-startmenu:hover, #custom-exit:hover, #idle_inhibitor:hover {
background-color: @nord2;
color: @nord6;
opacity: 0.9;
}
/* Warning and Critical States */
#cpu.warning, #memory.warning, #battery.warning {
color: @nord13;
animation: blink-warning 2s ease-in-out infinite alternate;
}
#cpu.critical, #memory.critical, #battery.critical {
color: @nord11;
animation: blink-critical 1s ease-in-out infinite alternate;
}
#network.disconnected {
color: @nord11;
}
/* Animations */
@keyframes blink-warning {
to { background-color: @nord13; color: @nord0; }
}
@keyframes blink-critical {
to { background-color: @nord11; color: @nord0; }
}
/* Tooltip */
tooltip {
background-color: @nord0;
color: @nord5;
border-radius: 8px;
padding: 5px 10px;
}
tooltip label {
color: @nord5;
}
/* Tray */
#tray > .passive {
color: @nord3;
}
#tray > .active {
color: @nord8;
}
|