mirror of
https://github.com/adi1090x/rofi
synced 2025-12-06 08:48:49 +01:00
add lock command for hyprlock
This commit is contained in:
parent
e2deecc36a
commit
7c6953721b
6 changed files with 12 additions and 0 deletions
|
|
@ -101,6 +101,8 @@ case ${chosen} in
|
|||
betterlockscreen -l
|
||||
elif [[ -x '/usr/bin/i3lock' ]]; then
|
||||
i3lock
|
||||
elif [[ -x '/usr/bin/hyprlock' ]]; then
|
||||
hyprlock
|
||||
fi
|
||||
;;
|
||||
$suspend)
|
||||
|
|
|
|||
|
|
@ -102,6 +102,8 @@ case ${chosen} in
|
|||
betterlockscreen -l
|
||||
elif [[ -x '/usr/bin/i3lock' ]]; then
|
||||
i3lock
|
||||
elif [[ -x '/usr/bin/hyprlock' ]]; then
|
||||
hyprlock
|
||||
fi
|
||||
;;
|
||||
$suspend)
|
||||
|
|
|
|||
|
|
@ -96,6 +96,8 @@ case ${chosen} in
|
|||
betterlockscreen -l
|
||||
elif [[ -x '/usr/bin/i3lock' ]]; then
|
||||
i3lock
|
||||
elif [[ -x '/usr/bin/hyprlock' ]]; then
|
||||
hyprlock
|
||||
fi
|
||||
;;
|
||||
$suspend)
|
||||
|
|
|
|||
|
|
@ -96,6 +96,8 @@ case ${chosen} in
|
|||
betterlockscreen -l
|
||||
elif [[ -x '/usr/bin/i3lock' ]]; then
|
||||
i3lock
|
||||
elif [[ -x '/usr/bin/hyprlock' ]]; then
|
||||
hyprlock
|
||||
fi
|
||||
;;
|
||||
$suspend)
|
||||
|
|
|
|||
|
|
@ -108,6 +108,8 @@ case ${chosen} in
|
|||
betterlockscreen -l
|
||||
elif [[ -x '/usr/bin/i3lock' ]]; then
|
||||
i3lock
|
||||
elif [[ -x '/usr/bin/hyprlock' ]]; then
|
||||
hyprlock
|
||||
fi
|
||||
;;
|
||||
$suspend)
|
||||
|
|
|
|||
|
|
@ -108,6 +108,8 @@ case ${chosen} in
|
|||
betterlockscreen -l
|
||||
elif [[ -x '/usr/bin/i3lock' ]]; then
|
||||
i3lock
|
||||
elif [[ -x '/usr/bin/hyprlock' ]]; then
|
||||
hyprlock
|
||||
fi
|
||||
;;
|
||||
$suspend)
|
||||
|
|
|
|||
Loading…
Reference in a new issue