Use hyprland recommended exit method and systemctl for poweroff (#309)
This commit is contained in:
@@ -1048,16 +1048,16 @@ const options = mkOptions(OPTIONS, {
|
|||||||
confirmation: opt(true),
|
confirmation: opt(true),
|
||||||
sleep: opt('systemctl suspend'),
|
sleep: opt('systemctl suspend'),
|
||||||
reboot: opt('systemctl reboot'),
|
reboot: opt('systemctl reboot'),
|
||||||
logout: opt('pkill Hyprland'),
|
logout: opt('hyprctl dispatch exit'),
|
||||||
shutdown: opt('shutdown now'),
|
shutdown: opt('systemctl poweroff'),
|
||||||
},
|
},
|
||||||
dashboard: {
|
dashboard: {
|
||||||
powermenu: {
|
powermenu: {
|
||||||
confirmation: opt(true),
|
confirmation: opt(true),
|
||||||
sleep: opt('systemctl suspend'),
|
sleep: opt('systemctl suspend'),
|
||||||
reboot: opt('systemctl reboot'),
|
reboot: opt('systemctl reboot'),
|
||||||
logout: opt('pkill Hyprland'),
|
logout: opt('hyprctl dispatch exit'),
|
||||||
shutdown: opt('shutdown now'),
|
shutdown: opt('systemctl poweroff'),
|
||||||
avatar: {
|
avatar: {
|
||||||
image: opt('avatar-default-symbolic'),
|
image: opt('avatar-default-symbolic'),
|
||||||
name: opt<'system' | string>('system'),
|
name: opt<'system' | string>('system'),
|
||||||
|
|||||||
Reference in New Issue
Block a user