2015-04-18 21:28:33 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Forking graphical programs
|
|
|
|
forklog() {
|
2015-05-04 20:24:23 +02:00
|
|
|
$* 2>&1 | logger &
|
2015-04-18 21:28:33 +02:00
|
|
|
}
|
|
|
|
|
2021-08-17 09:03:40 +02:00
|
|
|
case "$(hostname)" in
|
|
|
|
mantle) xset dpms 0 0 300 s off ;;
|
|
|
|
abysm) xset dpms 0 0 50 s off ;;
|
|
|
|
esac
|
|
|
|
|
2018-06-26 15:37:34 +02:00
|
|
|
xset r rate 300 55
|
|
|
|
|
2021-08-17 09:03:40 +02:00
|
|
|
forklog bgs -z $(find -L /data/pictures/background-source/ -type f | sort -R | head)
|
2019-01-22 16:41:16 +01:00
|
|
|
forklog redshift
|
2015-04-18 21:28:33 +02:00
|
|
|
|
2021-08-17 09:03:40 +02:00
|
|
|
exec xmonad
|