mirror of
https://github.com/adi1090x/rofi.git
synced 2025-12-10 12:22:49 +01:00
Add xsel case for session locking
This commit is contained in:
parent
739397688f
commit
c8108fe9ad
@ -99,6 +99,8 @@ case ${chosen} in
|
||||
betterlockscreen -l
|
||||
elif [[ -x '/usr/bin/i3lock' ]]; then
|
||||
i3lock
|
||||
elif [[ -x '/usr/bin/xsel' ]]; then
|
||||
xset s activate
|
||||
fi
|
||||
;;
|
||||
$suspend)
|
||||
|
||||
@ -100,6 +100,8 @@ case ${chosen} in
|
||||
betterlockscreen -l
|
||||
elif [[ -x '/usr/bin/i3lock' ]]; then
|
||||
i3lock
|
||||
elif [[ -x '/usr/bin/xsel' ]]; then
|
||||
xset s activate
|
||||
fi
|
||||
;;
|
||||
$suspend)
|
||||
|
||||
@ -94,6 +94,8 @@ case ${chosen} in
|
||||
betterlockscreen -l
|
||||
elif [[ -x '/usr/bin/i3lock' ]]; then
|
||||
i3lock
|
||||
elif [[ -x '/usr/bin/xsel' ]]; then
|
||||
xset s activate
|
||||
fi
|
||||
;;
|
||||
$suspend)
|
||||
|
||||
@ -94,6 +94,8 @@ case ${chosen} in
|
||||
betterlockscreen -l
|
||||
elif [[ -x '/usr/bin/i3lock' ]]; then
|
||||
i3lock
|
||||
elif [[ -x '/usr/bin/xsel' ]]; then
|
||||
xset s activate
|
||||
fi
|
||||
;;
|
||||
$suspend)
|
||||
|
||||
@ -106,6 +106,8 @@ case ${chosen} in
|
||||
betterlockscreen -l
|
||||
elif [[ -x '/usr/bin/i3lock' ]]; then
|
||||
i3lock
|
||||
elif [[ -x '/usr/bin/xsel' ]]; then
|
||||
xset s activate
|
||||
fi
|
||||
;;
|
||||
$suspend)
|
||||
|
||||
@ -106,6 +106,8 @@ case ${chosen} in
|
||||
betterlockscreen -l
|
||||
elif [[ -x '/usr/bin/i3lock' ]]; then
|
||||
i3lock
|
||||
elif [[ -x '/usr/bin/xsel' ]]; then
|
||||
xset s activate
|
||||
fi
|
||||
;;
|
||||
$suspend)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user