From 1fb63b6bd026aa6968418d1a2e8f48f6fb436b1e Mon Sep 17 00:00:00 2001 From: IwanIDev Date: Wed, 25 Mar 2026 15:56:03 +0000 Subject: Update powermenu commands to use elogind rather than systemd --- .config/otter-launcher/config.toml | 8 ++++---- 1 file 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) """ -- cgit