configuration/xinitrc

22 lines
457 B
Plaintext
Raw Normal View History

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" ;;
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)
forklog redshift
2022-09-24 10:54:00 +02:00
forklog pipewire
forklog pipewire-pulse
2015-04-18 21:28:33 +02:00
2021-08-17 09:03:40 +02:00
exec xmonad