Use hyprland recommended exit method and systemctl for poweroff (#309)

This commit is contained in:
Lucas Alber
2024-10-08 08:59:54 +02:00
committed by GitHub
parent 6da84732a1
commit e30cefcf8b

View File

@@ -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'),