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