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
|
{ config, neotheme }:
with neotheme.colors;
let
guiCfg = config.profiles.gui;
in
''
* {
border: none;
border-radius: 0;
font-family: "${guiCfg.font.name}, JetBrainsMono Nerd Font";
font-size: ${toString guiCfg.font.pixelSize}px;
min-height: 0;
}
window#waybar {
background: #${background};
color: #${foreground};
border-bottom: 1px solid #${bright0};
}
#workspaces button {
min-width: 0;
padding: 0 8px;
background: #${background};
color: #${foreground};
border-bottom: 1px solid #${bright0};
}
#workspaces button.focused {
color: #${foreground};
background-color: #${alt0};
}
#workspaces button.urgent {
color: #${color1};
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
}
#workspaces button.persistent {
color: #${alt1};
}
#workspaces button:hover {
color: #${foreground};
background: #${alt1};
box-shadow: inherit;
text-shadow: inherit;
}
#clock,
#cpu,
#temperature,
#backlight,
#battery,
#network,
#memory,
#idle_inhibitor,
#language,
#wireplumber,
#tray,
#mode,
#mpd {
padding: 0.2rem 0.6rem;
margin: 0 2px;
color: #${foreground};
background-color: #${background};
border-bottom: 1px solid #${bright0};
}
#tray {
/* TODO: https://github.com/Alexays/Waybar/issues/2906 */
margin: 0;
padding: 0;
padding-left: 0.1rem;
}
@keyframes blink {
to {
background-color: #f0a0c0;
color: #${background};
}
}
#custom-tray-placeholder {
color: #${color6};
padding-right: 0.2rem;
}
#custom-separator {
color: #${alt1};
background-color: #${background};
border-bottom: 1px solid #${bright0};
}
''
|