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
|
refresh_interval = 1000
[[modules]]
name = "window"
instance = "0"
format = "๐ช {title} โ {app_name}"
html_escape = false
[modules.on_click]
Left = [
"swayr",
"switch-to-urgent-or-lru-window",
]
Right = [
"kill",
"{pid}",
]
[[modules]]
name = "cmd"
instance = "0"
format = "{HOME}/.config/swayrbar/scripts/idle-status"
html_escape = false
[modules.on_click]
Left = ["{HOME}/.config/swayrbar/scripts/idle-toggle"]
[[modules]]
name = "sysinfo"
instance = "0"
format = "๎ฆ CPU: {cpu_usage:{:5.1}}% Mem: {mem_usage:{:5.1}}%"
html_escape = false
[modules.on_click]
Left = [
"foot",
"htop",
]
[[modules]]
name = "battery"
instance = "0"
format = "๐ {state_of_charge:{:5.1}}%, {state}"
html_escape = false
[[modules]]
name = "pactl"
instance = "0"
format = "๐{volume:{:3}}%{muted}"
html_escape = true
[[modules]]
name = "nmcli"
instance = "0"
format = "๓ฐคจ {name} {signal}"
html_escape = true
[modules.on_click]
Right = [
"pactl",
"set-sink-mute",
"@DEFAULT_SINK@",
"toggle",
]
WheelDown = [
"pactl",
"set-sink-volume",
"@DEFAULT_SINK@",
"-1%",
]
Left = ["pavucontrol"]
WheelUp = [
"pactl",
"set-sink-volume",
"@DEFAULT_SINK@",
"+1%",
]
[[modules]]
name = "cmd"
instance = "1"
format = "{HOME}/.config/swayrbar/scripts/brightness-status"
html_escape = false
[modules.on_click]
WheelUp = [
"brightnessctl",
"set",
"5%+",
]
WheelDown = [
"brightnessctl",
"set",
"5%-",
]
[[modules]]
name = "cmd"
instance = "2"
format = "{HOME}/.config/swayrbar/scripts/temp-status"
html_escape = false
[[modules]]
name = "date"
instance = "0"
format = "๓ฑ %F %X"
html_escape = false
|