mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-09 17:54:22 +02:00
xss-lock: kill compton before locking
This way, we work around many many bugs.
This commit is contained in:
parent
5ab1f901dd
commit
cb8b1e5434
1 changed files with 2 additions and 0 deletions
|
@ -35,7 +35,9 @@ case "$1" in
|
||||||
xdotool key XF86AudioStop
|
xdotool key XF86AudioStop
|
||||||
# Then, lock screen
|
# Then, lock screen
|
||||||
echo "$(date --rfc-3339=seconds) $me: lock: 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
|
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"
|
echo "$(date --rfc-3339=seconds) $me: lock: unlock screen"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue