From e30cefcf8b24a914e43ffec489189cd1e722027e Mon Sep 17 00:00:00 2001 From: Lucas Alber Date: Tue, 8 Oct 2024 08:59:54 +0200 Subject: [PATCH] Use hyprland recommended exit method and systemctl for poweroff (#309) --- options.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/options.ts b/options.ts index 97fdf3d..ba950df 100644 --- a/options.ts +++ b/options.ts @@ -1048,16 +1048,16 @@ const options = mkOptions(OPTIONS, { confirmation: opt(true), sleep: opt('systemctl suspend'), reboot: opt('systemctl reboot'), - logout: opt('pkill Hyprland'), - shutdown: opt('shutdown now'), + logout: opt('hyprctl dispatch exit'), + shutdown: opt('systemctl poweroff'), }, dashboard: { powermenu: { confirmation: opt(true), sleep: opt('systemctl suspend'), reboot: opt('systemctl reboot'), - logout: opt('pkill Hyprland'), - shutdown: opt('shutdown now'), + logout: opt('hyprctl dispatch exit'), + shutdown: opt('systemctl poweroff'), avatar: { image: opt('avatar-default-symbolic'), name: opt<'system' | string>('system'),