feat(plugins): add btrlckscrn
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user