diff options
author | Florian Pritz <f-p@gmx.at> | 2009-02-23 14:16:20 +0100 |
---|---|---|
committer | Florian Pritz <f-p@gmx.at> | 2009-02-23 14:16:20 +0100 |
commit | a27c29c43b1017f4a10500768e850a9c5a412447 (patch) | |
tree | 48129e72abca2c8b28bbdf6cbd54a384c44f176a /.xinitrc | |
parent | b2d789cf3fa9e1f7dc8d898def75fdbaafeb20bc (diff) | |
download | dotfiles-a27c29c43b1017f4a10500768e850a9c5a412447.tar.gz dotfiles-a27c29c43b1017f4a10500768e850a9c5a412447.tar.xz |
added .xinitrc
Diffstat (limited to '.xinitrc')
-rw-r--r-- | .xinitrc | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/.xinitrc b/.xinitrc new file mode 100644 index 0000000..cd92f80 --- /dev/null +++ b/.xinitrc @@ -0,0 +1,62 @@ +#!/bin/sh + +# I don't like no background ;) +sh $HOME/.fehbg & + +numlockx & +xset r rate 250 50 & +source $HOME/bin/gpg-agent.sh + +# autostart entries +xcompmgr & +xbindkeys & +urxvtd -o -f -q & +xautolock -nowlocker /bin/screen-locker.sh -locker $HOME/bin/screen-locker.sh -time 5 & +$HOME/.irssi_notify.sh & + +chat_terminal () { + screenname=$(screen -list | grep "screen-sh-2") + if [ ! "$screenname" ]; then + urxvt -g 125x+45+0+0 -e screen.sh 2 + else + urxvt -g 125x+45+0+0 -e screen -x screen-sh-2 + fi +} + +autostart () { + conky & + gajim & + #urxvtc -e $HOME/bin/screen.sh 2 & + chat_terminal & + ossxmix -b & + thunderbird & + thunar --daemon & + (sleep 2 && pypanel) & + #xfce4-panel & + #fbpanel & + #fsniper --daemon + zim & +# screenlets-daemon & + python ${HOME}/.screenlets/**/*.py & + blueman-applet & +} + +# WM +case "$1" in + awesome) + autostart + exec ck-launch-session awesome + ;; + twm) + autostart + exec ck-launch-session twm + ;; + console) + urxvtc & + exec ck-launch-session dbus-launch openbox-session + ;; + *|openbox) + autostart + exec ck-launch-session dbus-launch openbox-session + ;; +esac |