mirror of
https://github.com/adi1090x/rofi.git
synced 2024-11-21 21:58:21 -05: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
|
betterlockscreen -l
|
||||||
elif [[ -x '/usr/bin/i3lock' ]]; then
|
elif [[ -x '/usr/bin/i3lock' ]]; then
|
||||||
i3lock
|
i3lock
|
||||||
|
elif [[ -x '/usr/bin/xsel' ]]; then
|
||||||
|
xset s activate
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
$suspend)
|
$suspend)
|
||||||
|
@ -100,6 +100,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/xsel' ]]; then
|
||||||
|
xset s activate
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
$suspend)
|
$suspend)
|
||||||
|
@ -94,6 +94,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/xsel' ]]; then
|
||||||
|
xset s activate
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
$suspend)
|
$suspend)
|
||||||
|
@ -94,6 +94,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/xsel' ]]; then
|
||||||
|
xset s activate
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
$suspend)
|
$suspend)
|
||||||
|
@ -106,6 +106,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/xsel' ]]; then
|
||||||
|
xset s activate
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
$suspend)
|
$suspend)
|
||||||
|
@ -106,6 +106,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/xsel' ]]; then
|
||||||
|
xset s activate
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
$suspend)
|
$suspend)
|
||||||
|
Loading…
Reference in New Issue
Block a user