mirror of
https://github.com/adi1090x/rofi.git
synced 2024-11-21 21:58:21 -05:00
add lock command for hyprlock
This commit is contained in:
parent
e2deecc36a
commit
7c6953721b
@ -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)
|
||||||
|
@ -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)
|
||||||
|
@ -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)
|
||||||
|
@ -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)
|
||||||
|
@ -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)
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user