legacy-dotfiles/.xinitrc

39 lines
951 B
Text
Raw Normal View History

2012-02-23 12:41:38 +01:00
#_ Modify keys
2012-01-11 09:31:02 +01:00
xmodmap ~/.Xmodmap
2012-02-23 12:41:38 +01:00
#_ Start some programs
2012-03-25 22:19:21 +02:00
xsetroot -solid "#002b36"
numlockx &
2012-02-23 12:36:28 +01:00
emacs --daemon &
xbindkeys &
2012-02-23 12:41:38 +01:00
#_. mpdscribble
2011-09-17 09:22:42 +02:00
pidof mpdscribble >& /dev/null
if [ $? -ne 0 ]
then
mpdscribble &
fi
2012-02-23 12:41:38 +01:00
#_. mpdnotify
2012-01-18 15:29:29 +01:00
mpc idleloop player | { while read; do notify-send "`mpc current`"; done } &
2012-04-01 14:57:45 +02:00
#_. rootname
while true; do
2012-04-01 15:04:12 +02:00
xsetroot -name "`/home/slash/.rootname.scm`"
2012-04-01 14:57:45 +02:00
sleep 1m
2012-04-01 15:00:44 +02:00
done &
2012-02-23 12:41:38 +01:00
#_ Start notifier
2012-04-06 13:40:36 +02:00
geometry=($(herbstclient monitor_rect 0))
x=${geometry[0]}
width=${geometry[2]}
height=12
y=0
2011-12-09 01:14:25 +01:00
/usr/bin/dunst \
2011-12-23 13:38:22 +01:00
-fn "-misc-tamsyn-medium-r-normal-*-14-*-*-*-*-*-iso8859-*" \
2012-04-06 13:40:41 +02:00
-nb "#002b36" -nf "#657b83" -geometry "${width}x${height}+${x}+${y}" &
2012-02-23 12:41:38 +01:00
#_ Start session
2012-04-06 13:40:36 +02:00
exec ck-launch-session /usr/bin/herbstluftwm 2>&1 >> ~/.xsession_errors
2012-04-01 14:57:45 +02:00
exec ck-launch-session /usr/local/bin/dwm 2>&1 >> ~/.xsession_errors
2012-02-23 12:41:38 +01:00
#_ Local Variables
# Local Variables:
# mode: shell-script
# eval: (git-auto-commit-mode 1)
# eval: (allout-mode 1)
# End: