-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-bottombar
57 lines (57 loc) · 1.33 KB
/
config-bottombar
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
{
"layer": "top",
"position": "bottom",
"height": 46,
"include": [
"~/.config/waybar/config-common"
],
"group/centerbottom": {
"orientation": "horizontal",
"modules": [
"wlr/taskbar"
]
},
"modules-center": [
"group/centerbottom"
],
"modules-right": [
"group/bottomright"
],
"group/bottomright": {
"orientation": "horizontal",
"modules": [
"user",
"custom/poweroff",
"custom/sleep",
"custom/exit"
],
"drawer": {
"transition-left-to-right": false
}
},
"custom/poweroff": {
"format": "",
"on-click": "dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.PowerOff boolean:true"
},
"custom/sleep": {
"format": "",
"on-click": "dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.Suspend boolean:true"
},
"custom/exit": {
"format": "",
"on-click": "loginctl terminate-session $XDG_SESSION_ID"
},
"custom/switch-user": {
"format": "",
"on-click": "notify-send 'switch user'"
},
"user": {
"format": "{user}"
},
"wlr/taskbar": {
"sort-by-app-id": true,
"on-click": "minimize-raise",
"icon-size": 22
},
"_vim_": "# vim: set filetype=json:"
}