summaryrefslogtreecommitdiff
path: root/dot-config/waybar/style.css
blob: 4b6a6ee75abc9982a87100b9bb2b194bbc5962ab (plain)
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
@define-color bg #DCDCDC;
@define-color fg #000000;
@define-color sel #9999FF;

* {
    border-radius: 0;
    font-family: "BerkeleyMono";
    font-weight: 800;
    font-size: 15px;
    min-height: 0;
}

window#waybar {
    background: @bg;
    color: @fg;
}

window#waybar > box {
  padding: 0 8px 0 8px;
  /* border-top: 2px solid @fg; */
  border-bottom: 2px solid @fg;
}

.modules-left > * > * {
  margin: 0px 4px 0px 4px;
}

.modules-right > * > * {
  margin: 0px 6px 0px 6px;
}

#hardware * {
  margin: 0px 4px 0 4px;
}

tooltip {
  background: @bg;
  border: 2px solid @fg;
}

tooltip label {
  color: @fg;
  text-shadow: none;
}

#workspaces button {
    padding: 0 4px;
}

#workspaces button.focused {
    background: @sel;
    color: white;
}

@keyframes blink {
    to {
        color: red;
    }
}

#battery.warning:not(.charging) {
    animation-name: blink;
    animation-duration: 0.5s;
    animation-timing-function: steps(12);
    animation-iteration-count: infinite;
    animation-direction: alternate;
}