From 3ce722f60aa98a23a7f4fe8936401603ca29ebb1 Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Tue, 3 Oct 2017 09:43:51 +0100 Subject: [PATCH] i3/powermenu: don't assume systemd-sysvcompat is installed --- .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 ebe35d1..015327c 100755 --- a/.config/i3/powermenu.sh +++ b/.config/i3/powermenu.sh @@ -11,7 +11,7 @@ case $option in windows) windows=`efibootmgr | grep -Po -m1 'Boot\K(\d{4}).*Windows.*' | head -c4` sudo efibootmgr -n $windows - reboot;; + systemctl reboot;; esac exit 0