-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathlayout.json
More file actions
75 lines (75 loc) · 2.19 KB
/
layout.json
File metadata and controls
75 lines (75 loc) · 2.19 KB
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
{
"buttons": [
{
"label": "lock",
"action": [
{
"$DESKTOP_SESSION": "gnome",
"shell": "loginctl lock-session"
},
{
"executable": "gtklock"
},
{
"executable": "swaylock"
}
],
"text": "Lock",
"keybind": "l",
"icon": "/usr/share/wleave/icons/lock.svg"
},
{
"label": "hibernate",
"action": "systemctl hibernate",
"text": "Hibernate",
"keybind": "h",
"icon": "/usr/share/wleave/icons/hibernate.svg"
},
{
"label": "logout",
"action": [
{
"$DESKTOP_SESSION": "niri",
"shell": "niri msg action quit --skip-confirmation"
},
{
"$DESKTOP_SESSION": "sway",
"shell": "swaymsg exit"
},
{
"$DESKTOP_SESSION": "plasma",
"shell": "qdbus org.kde.KWin /Session org.kde.KWin.Session.quit"
},
{
"$DESKTOP_SESSION": "gnome",
"shell": "gnome-session-quit --no-prompt"
},
"loginctl terminate-user $USER"
],
"text": "Logout",
"keybind": "e",
"icon": "/usr/share/wleave/icons/logout.svg"
},
{
"label": "shutdown",
"action": "systemctl poweroff",
"text": "Shutdown",
"keybind": "s",
"icon": "/usr/share/wleave/icons/shutdown.svg"
},
{
"label": "suspend",
"action": "systemctl suspend",
"text": "Suspend",
"keybind": "u",
"icon": "/usr/share/wleave/icons/suspend.svg"
},
{
"label": "reboot",
"action": "systemctl reboot",
"text": "Reboot",
"keybind": "r",
"icon": "/usr/share/wleave/icons/reboot.svg"
}
]
}