about summary refs log tree commit diff
path: root/alpine-river/config/waybar/style.css
blob: 484f6c4d62b53f17b3b7d02adc5f6520f6fab91b (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
95
96
97
98
@import "./rose-pine.css";

* {
    border-radius: 0;
    font-family: FantasqueSansMono;
    font-size: 14pt;
    min-height: 0;
}

window#waybar {
    background-color: rgba(0,0,0,0); /* transparent */
}

#tags {
    margin-top: 12px;
    margin-left: 12px;
    padding: 1px;
    background-color: @base; /*base02*/
    border: 2px solid @rose; /*base1*/
}

#tags button {
    margin: 1px;
    padding: 1px;
    color: @text; /*base1*/
    border: 2px solid @base; /*base02*/

    /* Disable animation on click, GTK has the stupidest defaults */
    transition-property: none;
}

/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
#tags button:hover {
    box-shadow: inherit;
    text-shadow: inherit;
    background: @base; /*base02*/
}

#tags button.focused {
    color: @base; /*base02*/
    background-color: @rose; /*base1*/
    border: 2px solid @base; /*base02*/
}

#tags button.occupied {
    border: 2px solid @rose; /*base1*/
}

#tags button.urgent {
    border: 2px solid @love; /*red*/
}

#tags button.occupied.urgent {
    border: 2px solid @love; /*red*/
}

#tags button.focused.occupied {
    color: @base; /*base02*/
    background-color: @rose; /*base1*/
    border: 2px solid @rose; /*base1*/
}

#battery,
#clock,
#mode,
#cpu,
#memory,
#mpris,
#network,
#idle_inhibitor,
#temperature {
    padding: 1px 5px;
    margin-top: 12px;
    margin-left: 12px;
    background-color: @base; /*base02*/
    color: @text; /*base1*/
    border: 2px solid @rose; /*base1*/
}

#clock {
    margin-right: 12px;
}

#mprimpris {
    margin-left: 0px;
    margin-right: 0px;
}

#cpu.warning,
#memory.warning {
    border: 2px solid @gold; /*yellow*/
}

#cpu.critical,
#memory.critical,
#temperature.critical {
    border: 2px solid @love; /*red*/
}