blob: 2e785987059f471ae68f34b7ae88ec8faf0536d1 (
plain) (
blame)
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
|
* {
font-size: 12px;
font-family: JetBrainsMono;
border: none;
border-radius: 0;
}
#window,
#waybar {
background: #222222;
color: #bbbbbb;
}
#clock,
#battery,
#backlight,
#pulseaudio {
padding: 0 10px;
margin: 0 4px;
}
#window,
#workspaces {
padding: 0 0;
margin: 0 0;
}
/* This is for occupied (but not focused) workspaces */
#workspaces button {
border: none;
border-radius: 0;
padding: 0 7px;
margin: 0;
color: #bbbbbb;
/* 4px is the white line height */
background: linear-gradient(transparent 0%, transparent calc(100% - 4px), white calc(100% - 4px), white 100%);
/* 57% is the white line width */
background-size: 57% 100%, 100% 100%;
background-repeat: no-repeat;
background-position: center bottom;
}
#workspaces button.focused {
border: none;
border-radius: 0;
margin: 0;
padding: 0 7px;
color: #222222;
background: #bbbbbb;
border-bottom: 0px;
}
button:hover {
box-shadow: inherit;
text-shadow: inherit;
background: inherit;
}
#workspaces button.persistent {
border: 0;
background: #222222;
}
#battery.critical:not(.charging) {
background-color: darkred;
color: #ffffff;
}
|