From 8e86599372352bf9a0a849cd4e27f9f8fb22e5dd Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Sun, 22 Mar 2020 12:32:00 +0000 Subject: [PATCH] i3/powermenu: fix rebooting when non-interactive --- .config/i3/powermenu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/i3/powermenu.sh b/.config/i3/powermenu.sh index 09d2cfc..1f4692a 100755 --- a/.config/i3/powermenu.sh +++ b/.config/i3/powermenu.sh @@ -12,7 +12,7 @@ case $option in windows) windows=`efibootmgr | grep -Po -m1 'Boot\K(\d{4}).*Windows.*' | head -c4` sudo efibootmgr -n $windows - sudo hibereboot;; + reboot;; esac exit 0