summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/otter-launcher/config.toml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.config/otter-launcher/config.toml b/.config/otter-launcher/config.toml
index 1f4e9e9..bc4234c 100644
--- a/.config/otter-launcher/config.toml
+++ b/.config/otter-launcher/config.toml
@@ -95,10 +95,10 @@ function power {
if [[ -n $1 ]]; then
case $1 in
"logout") session=`loginctl session-status | head -n 1 | awk '{print $1}'`; loginctl terminate-session $session ;;
-"suspend") systemctl suspend ;;
-"hibernate") systemctl hibernate ;;
-"reboot") systemctl reboot ;;
-"shutdown") systemctl poweroff ;;
+"suspend") loginctl suspend ;;
+"hibernate") loginctl hibernate ;;
+"reboot") loginctl reboot ;;
+"shutdown") loginctl poweroff ;;
esac fi }
power $(echo -e 'reboot\nshutdown\nlogout\nsuspend\nhibernate' | fzf --reverse --no-scrollbar --padding 1,3 --prompt 'Power Menu: ' | tail -1)
"""