unify xinitrc

This commit is contained in:
Felix Van der Jeugt 2021-08-17 09:03:40 +02:00
parent d171d22a99
commit 9b9f60b3e0
No known key found for this signature in database
GPG Key ID: 58B209295023754D
1 changed files with 8 additions and 7 deletions

15
xinitrc
View File

@ -5,13 +5,14 @@ forklog() {
$* 2>&1 | logger &
}
xset dpms 0 0 50 s off
xset r rate 300 55
# xsetroot -solid "#002a3b"
case "$(hostname)" in
mantle) xset dpms 0 0 300 s off ;;
abysm) xset dpms 0 0 50 s off ;;
esac
forklog feh --bg-fill $(find -L /data/pictures/background-source/ -type f | sort -R | head)
xset r rate 300 55
forklog bgs -z $(find -L /data/pictures/background-source/ -type f | sort -R | head)
forklog redshift
exec dwm
exec valgrind --extra-debuginfo-path=/data/programming/dwm/ --track-origins=yes --leak-check=full --show-leak-kinds=all dwm
exec xmonad