From 9b9f60b3e0c7a664d2028726de5b8aaf2e5516f1 Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Tue, 17 Aug 2021 09:03:40 +0200 Subject: [PATCH] unify xinitrc --- xinitrc | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/xinitrc b/xinitrc index 9bb8bad..ae9ce0e 100644 --- a/xinitrc +++ b/xinitrc @@ -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