forked from Shinonome/dots-hyprland
kill all apps before shutting down/rebooting/etc
This commit is contained in:
@@ -7,18 +7,18 @@
|
||||
{
|
||||
"label" : "hibernate",
|
||||
"action" : "systemctl hibernate || loginctl hibernate",
|
||||
"text" : "save",
|
||||
"text" : "downloading",
|
||||
"keybind" : "h"
|
||||
}
|
||||
{
|
||||
"label" : "logout",
|
||||
"action" : "pkill Hyprland || pkill sway || pkill niri || loginctl terminate-user $USER",
|
||||
"action" : "hyprctl clients -j | jq -r '.[].pid' | xargs kill; pkill Hyprland || pkill sway || pkill niri || loginctl terminate-user $USER",
|
||||
"text" : "logout",
|
||||
"keybind" : "e"
|
||||
}
|
||||
{
|
||||
"label" : "shutdown",
|
||||
"action" : "systemctl poweroff || loginctl poweroff",
|
||||
"action" : "hyprctl clients -j | jq -r '.[].pid' | xargs kill; systemctl poweroff || loginctl poweroff",
|
||||
"text" : "power_settings_new",
|
||||
"keybind" : "s"
|
||||
}
|
||||
@@ -30,7 +30,7 @@
|
||||
}
|
||||
{
|
||||
"label" : "reboot",
|
||||
"action" : "systemctl reboot || loginctl reboot",
|
||||
"action" : "hyprctl clients -j | jq -r '.[].pid' | xargs kill; systemctl reboot || loginctl reboot",
|
||||
"text" : "restart_alt",
|
||||
"keybind" : "r"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user