[noctalia] Add custom session actions
- Add hibernate button
This commit is contained in:
1 parent
e55231f3c9
commit
1d90717eea
1 file changed
+28
@@ -14,6 +14,34 @@ compact = false
|
|||||||
show_icons = true
|
show_icons = true
|
||||||
sort_by_usage = true
|
sort_by_usage = true
|
||||||
|
|
||||||
|
[[shell.session.actions]]
|
||||||
|
action = "lock"
|
||||||
|
shortcut = "1"
|
||||||
|
|
||||||
|
[[shell.session.actions]]
|
||||||
|
action = "logout"
|
||||||
|
shortcut = "2"
|
||||||
|
|
||||||
|
[[shell.session.actions]]
|
||||||
|
action = "lock_and_suspend"
|
||||||
|
shortcut = "3"
|
||||||
|
|
||||||
|
[[shell.session.actions]]
|
||||||
|
action = "command"
|
||||||
|
label = "Hibernate"
|
||||||
|
glyph = "moon-off"
|
||||||
|
command = "systemctl hibernate"
|
||||||
|
shortcut = "4"
|
||||||
|
|
||||||
|
[[shell.session.actions]]
|
||||||
|
action = "reboot"
|
||||||
|
shortcut = "5"
|
||||||
|
|
||||||
|
[[shell.session.actions]]
|
||||||
|
action = "shutdown"
|
||||||
|
shortcut = "6"
|
||||||
|
variant = "destructive"
|
||||||
|
|
||||||
[shell.launcher.providers.session]
|
[shell.launcher.providers.session]
|
||||||
global = true
|
global = true
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user