add lock command for hyprlock

This commit is contained in:
Alpha 2024-05-03 10:14:37 +05:30
parent e2deecc36a
commit 7c6953721b
No known key found for this signature in database
GPG Key ID: E61724645DD4AC78
6 changed files with 12 additions and 0 deletions

View File

@ -101,6 +101,8 @@ case ${chosen} in
betterlockscreen -l betterlockscreen -l
elif [[ -x '/usr/bin/i3lock' ]]; then elif [[ -x '/usr/bin/i3lock' ]]; then
i3lock i3lock
elif [[ -x '/usr/bin/hyprlock' ]]; then
hyprlock
fi fi
;; ;;
$suspend) $suspend)

View File

@ -102,6 +102,8 @@ case ${chosen} in
betterlockscreen -l betterlockscreen -l
elif [[ -x '/usr/bin/i3lock' ]]; then elif [[ -x '/usr/bin/i3lock' ]]; then
i3lock i3lock
elif [[ -x '/usr/bin/hyprlock' ]]; then
hyprlock
fi fi
;; ;;
$suspend) $suspend)

View File

@ -96,6 +96,8 @@ case ${chosen} in
betterlockscreen -l betterlockscreen -l
elif [[ -x '/usr/bin/i3lock' ]]; then elif [[ -x '/usr/bin/i3lock' ]]; then
i3lock i3lock
elif [[ -x '/usr/bin/hyprlock' ]]; then
hyprlock
fi fi
;; ;;
$suspend) $suspend)

View File

@ -96,6 +96,8 @@ case ${chosen} in
betterlockscreen -l betterlockscreen -l
elif [[ -x '/usr/bin/i3lock' ]]; then elif [[ -x '/usr/bin/i3lock' ]]; then
i3lock i3lock
elif [[ -x '/usr/bin/hyprlock' ]]; then
hyprlock
fi fi
;; ;;
$suspend) $suspend)

View File

@ -108,6 +108,8 @@ case ${chosen} in
betterlockscreen -l betterlockscreen -l
elif [[ -x '/usr/bin/i3lock' ]]; then elif [[ -x '/usr/bin/i3lock' ]]; then
i3lock i3lock
elif [[ -x '/usr/bin/hyprlock' ]]; then
hyprlock
fi fi
;; ;;
$suspend) $suspend)

View File

@ -108,6 +108,8 @@ case ${chosen} in
betterlockscreen -l betterlockscreen -l
elif [[ -x '/usr/bin/i3lock' ]]; then elif [[ -x '/usr/bin/i3lock' ]]; then
i3lock i3lock
elif [[ -x '/usr/bin/hyprlock' ]]; then
hyprlock
fi fi
;; ;;
$suspend) $suspend)