xss-lock: don't suspend compositor on lock

Let's see if the confidentiality issue is still here. The problem with
suspending the compositor is that Firefox with EGL will freeze its
rendering. See https://bugzilla.mozilla.org/show_bug.cgi?id=1712665.

OK, the problem was that when screens are added/removed, i3lock is
unable to stay on top. I'll live with that for now.
This commit is contained in:
Vincent Bernat 2021-06-21 22:10:54 +02:00
parent 678f8f68a9
commit dd042ae594

View file

@ -40,9 +40,7 @@ case "$1" in
# First, pause any music player
playerctl -a pause
# Then, lock screen
systemctl --user stop compton@${display}.service
i3lock -n -e -i $HOME/.cache/awesome/current-wallpaper-${display}.png -t -f
systemctl --user start compton@${display}.service
echo "lock: unlock screen"
;;
esac