diff --git a/dmenu-power-menu b/dmenu-power-menu index ed67ada..877c8d1 100755 --- a/dmenu-power-menu +++ b/dmenu-power-menu @@ -8,8 +8,8 @@ load_config () { menu () { case "$(printf "shutdown\\nreboot" | $DMENU -p "Choose your poison")" in - "shutdown") poweroff ;; - "reboot") reboot ;; + "shutdown") loginctl poweroff ;; + "reboot") loginctl reboot ;; esac }