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 elif [[ $1 == '--reboot' ]]; then
loginctl reboot loginctl reboot
elif [[ $1 == '--suspend' ]]; then elif [[ $1 == '--suspend' ]]; then
loginctl suspend betterlockscreen --suspend
elif [[ $1 == '--logout' ]]; then elif [[ $1 == '--logout' ]]; then
bspc quit & pkill pipewire & pkill pipewire-pulse & pkill polybar bspc quit & pkill pipewire & pkill pipewire-pulse & pkill polybar
fi fi
else else
@ -83,7 +83,7 @@ case ${chosen} in
;; ;;
$lock) $lock)
if [[ -x '/usr/bin/betterlockscreen' ]]; then if [[ -x '/usr/bin/betterlockscreen' ]]; then
betterlockscreen -l blur betterlockscreen -l
elif [[ -x '/usr/bin/i3lock' ]]; then elif [[ -x '/usr/bin/i3lock' ]]; then
i3lock i3lock
fi fi