From 45b16e55cbb57d92d4398ae8e37392b256d099b7 Mon Sep 17 00:00:00 2001 From: Clay Gomera Date: Wed, 14 Sep 2022 23:42:36 -0400 Subject: [PATCH] now systemd is supported by rofi_power --- user/.config/rofi/scripts/rofi_power | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user/.config/rofi/scripts/rofi_power b/user/.config/rofi/scripts/rofi_power index 1e0b3d96a..81394ad6c 100755 --- a/user/.config/rofi/scripts/rofi_power +++ b/user/.config/rofi/scripts/rofi_power @@ -31,9 +31,9 @@ case "$action" in $option1*) pkill X;; $option2*) - loginctl reboot;; + systemctl reboot || loginctl reboot;; $option3*) - loginctl poweroff;; + systemctl poweroff || loginctl poweroff;; $option4*) betterlockscreen --suspend;; $option5*)