more silencing and logging

This commit is contained in:
Felix Van der Jeugt 2015-05-04 20:24:23 +02:00
parent a3ec83cbdf
commit 8cddac0d56
2 changed files with 10 additions and 7 deletions

View file

@ -33,15 +33,15 @@ fi
# Forking graphical programs
forklog() {
nohup $* | logger &
$* 2>&1 | logger &
}
forklog redshift
forklog dunst
forklog xcape -t 100 -e 'Super_L=Scroll_Lock;Shift_L=Escape'
forklog feh --bg-scale '/home/felix/Pictures/lain.png'
forklog xautolock -time 1 -locker xsecurelock &
forklog xset dpms 0 0 50 s off &
forklog xautolock -time 1 -locker xsecurelock
forklog xset dpms 0 0 50 s off
# Start herbstluftwm in locked mode. Is unlocked after autostart.
exec xmonad