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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
|
{
"layer": "top",
"height": 24,
"spacing": 0,
"modules-left": ["sway/workspaces", "sway/mode", "sway/window"],
"modules-center": [],
"modules-right": [
"pulseaudio",
"cpu",
"temperature",
"custom/memory",
"disk",
"custom/wifi",
"network#bond",
"battery",
"clock",
"tray",
],
"sway/workspaces": {
"disable-scroll": true,
},
"sway/window": {
"max-length": 60,
},
"cpu": {
"format": "CPU {usage}%",
"format-low": "CPU <span color='#b8bb26'>{usage}%</span>",
"format-medium": "CPU <span color='#fabd2f'>{usage}%</span>",
"format-high": "CPU <span color='#fe8019'>{usage}%</span>",
"format-critical": "CPU <span color='#fb4934'>{usage}%</span>",
"states": {
"low": 0,
"medium": 30,
"high": 60,
"critical": 80,
},
"interval": 5,
"tooltip": false,
},
"custom/memory": {
"exec": "~/.config/waybar/memory-status.sh",
"return-type": "json",
"interval": 10,
"tooltip": false,
},
"disk": {
"path": "/",
"unit": "GB",
"interval": 30,
"format": "DSK {specific_used:0.1f}G {percentage_used}%",
"format-low": "DSK {specific_used:0.1f}G <span color='#b8bb26'>{percentage_used}%</span>",
"format-medium": "DSK {specific_used:0.1f}G <span color='#fabd2f'>{percentage_used}%</span>",
"format-high": "DSK {specific_used:0.1f}G <span color='#fe8019'>{percentage_used}%</span>",
"format-critical": "DSK {specific_used:0.1f}G <span color='#fb4934'>{percentage_used}%</span>",
"states": {
"low": 0,
"medium": 30,
"high": 60,
"critical": 80,
},
"tooltip-format": "{path}: {specific_used:0.1f}G / {specific_total:0.1f}G",
},
"temperature": {
"format": "{temperatureC}°C",
"format-cool": "<span color='#b8bb26'>{temperatureC}°C</span>",
"format-warm": "<span color='#fabd2f'>{temperatureC}°C</span>",
"format-hot": "<span color='#fe8019'>{temperatureC}°C</span>",
"format-scorching": "<span color='#fb4934'>{temperatureC}°C</span>",
"states": {
"cool": 0,
"warm": 50,
"hot": 65,
"scorching": 80,
},
"interval": 5,
},
"custom/wifi": {
"exec": "~/.config/waybar/wifi-status.sh",
"return-type": "json",
"interval": 10,
},
"network#bond": {
"interface": "bond0",
"interval": 5,
"format": "↓{bandwidthDownBits} ↑{bandwidthUpBits}",
"format-disconnected": "bond off",
"tooltip-format": "{ifname}: {ipaddr}/{cidr}",
},
"battery": {
"format": "BAT {capacity}%",
"format-charging": "CHR {capacity}%",
"format-plugged": "PLG {capacity}%",
"states": {
"warning": 30,
"critical": 15,
},
},
"pulseaudio": {
"format": "VOL {volume}%",
"format-low": "VOL <span color='#b8bb26'>{volume}%</span>",
"format-medium": "VOL <span color='#fabd2f'>{volume}%</span>",
"format-high": "VOL <span color='#fe8019'>{volume}%</span>",
"format-critical": "VOL <span color='#fb4934'>{volume}%</span>",
"format-muted": "MUTE",
"states": {
"low": 0,
"medium": 50,
"high": 80,
"critical": 95,
},
"scroll-step": 5,
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
},
"clock": {
"format": "{:%a %d %b %H:%M}",
"tooltip-format": "{:%Y-%m-%d %H:%M:%S}",
},
"tray": {
"spacing": 8,
},
}
|