Add xsel case for session locking

This commit is contained in:
VDuchauffour 2022-10-16 13:56:12 +02:00
parent 739397688f
commit c8108fe9ad
6 changed files with 12 additions and 0 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)