From d6e04ec8295c212e77b41a308ddba44f13685901 Mon Sep 17 00:00:00 2001 From: doryan Date: Thu, 17 Oct 2024 01:10:31 +0400 Subject: [PATCH] feat(plugins): add btrlckscrn --- rofi/power/launch.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rofi/power/launch.sh b/rofi/power/launch.sh index ea089bd..c4cafb5 100755 --- a/rofi/power/launch.sh +++ b/rofi/power/launch.sh @@ -63,8 +63,8 @@ run_cmd() { elif [[ $1 == '--reboot' ]]; then loginctl reboot elif [[ $1 == '--suspend' ]]; then - loginctl suspend - elif [[ $1 == '--logout' ]]; then + betterlockscreen --suspend + elif [[ $1 == '--logout' ]]; then bspc quit & pkill pipewire & pkill pipewire-pulse & pkill polybar fi else @@ -83,7 +83,7 @@ case ${chosen} in ;; $lock) if [[ -x '/usr/bin/betterlockscreen' ]]; then - betterlockscreen -l blur + betterlockscreen -l elif [[ -x '/usr/bin/i3lock' ]]; then i3lock fi