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
|
2021-08-31 10:40:53 +02:00
|
|
|
mantle) xset dpms 0 0 300 s off ; backimg="bgs -z" ;;
|
|
|
|
abysm) xset dpms 0 0 50 s off ; backimg="feh --bg-fill" ;;
|
2022-06-13 17:19:33 +02:00
|
|
|
vaults) xset dpms 0 0 300 s off ; backimg="feh --bg-fill" ;;
|
2021-08-17 09:03:40 +02:00
|
|
|
esac
|
|
|
|
|
2018-06-26 15:37:34 +02:00
|
|
|
xset r rate 300 55
|
|
|
|
|
2021-08-31 10:40:53 +02:00
|
|
|
forklog $backimg $(find -L /data/pictures/background-source/ -type f | sort -R | head)
|
2019-01-22 16:41:16 +01:00
|
|
|
forklog redshift
|
2024-07-24 08:35:41 +02:00
|
|
|
forklog dbus-run-session pipewire
|
2015-04-18 21:28:33 +02:00
|
|
|
|
2021-08-17 09:03:40 +02:00
|
|
|
exec xmonad
|