From cb8b1e5434307567246ecad1690fe048e2a09c0d Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Fri, 17 Jan 2020 09:54:55 +0100 Subject: [PATCH] xss-lock: kill compton before locking This way, we work around many many bugs. --- bin/xss-lock | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/xss-lock b/bin/xss-lock index e15b12b..a572ef8 100755 --- a/bin/xss-lock +++ b/bin/xss-lock @@ -35,7 +35,9 @@ case "$1" in xdotool key XF86AudioStop # Then, lock screen echo "$(date --rfc-3339=seconds) $me: lock: lock screen" + pkill compton i3lock -n -e -i $HOME/.cache/awesome/current-wallpaper.png -t -f + compton --backend glx --xrender-sync --xrender-sync-fence --vsync opengl-swc --paint-on-overlay & echo "$(date --rfc-3339=seconds) $me: lock: unlock screen" ;; esac