Add blur and make dotfiles more flexible

Add blur using the fork from https://github.com/tryone144/compton.
picom seems to be very CPU heavy on my system, so until I figure out how
to fix that I will use this outdated version.
Make the dotfiles a bit more flexible by creating symlinks for stuff
like the wallpaper or the compositor. When switching/exchanging these
components only the symlinks have to be updated.
This commit is contained in:
2020-09-13 04:29:07 +02:00
parent 1e360611ad
commit 6786d8815a
5 changed files with 17 additions and 5 deletions

View File

@@ -20,14 +20,14 @@ sleep_delay=1
# Run before starting the locker
pre_lock() {
playerctl pause
killall -q compton
"${XDG_CONFIG_HOME:-$HOME/.config}/compositor/launch.sh" -k
amixer -q -D pulse sset Master mute
return
}
# Run after the locker exits
post_lock() {
compton -b
"${XDG_CONFIG_HOME:-$HOME/.config}/compositor/launch.sh"
return
}