summaryrefslogtreecommitdiff
path: root/.config/waybar/style.css
blob: ce8a0010b577be70e8f253fad2f552a448b68fcd (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
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
* {
    font-family: Fira Code Nerd, monospace, sans-serif;
    font-size: 14px;
    margin: 0px;
    padding: 0px;
    background-color: black;
    color: #fff;
    /* looks like gtk adds some styles that coflict with waybar's style */
    box-shadow: none;
    text-shadow: none;
    transition: none;
    background: none;
}

tooltip {
    background: black;
}

window#waybar {
    background-color: black;
}

#clock,
#network,
#pulseaudio,
#battery,
#tray {
    padding: 0px 15px;
    margin-right: 0px;
    background-color: black;
    transition: background-color 0.3s;
}


#tray {
    margin-right: 10px;
}

#network:hover,
#pulseaudio:hover,
#battery:hover,
#network:hover {
    background-color: #303030;
    transition: background-color 0.4s;
}

#workspaces {
    background-color: black;
    margin-left: 10px;
    border-radius: 0 0 10px 10px;
}

#workspaces button {
    padding: 0px 3px;
    margin: 4px;
    border: none;
    border-radius: 3px;
    transition: background-color 0.4s;
}

#workspaces button label {
    color: white;
}

#workspaces button.active label {
    color: white;
}

#workspaces button.active {
    background-color: white;
}

#workspaces button.active label {
    color: black;
}

#workspaces button:not(.active):hover {
    background-color: #303030;
    transition: background-color 0.4s;
}

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

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