feat(plugins): add btrlckscrn

This commit is contained in:
doryan 2024-10-17 01:10:31 +04:00
parent 36c6ade6f4
commit d6e04ec829

View File

@ -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