summaryrefslogtreecommitdiffstats
path: root/.xinitrc
blob: e64e6f40c812da55b7b8a6e70612789d92a0fe2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/bin/sh
cd $HOME

# I don't like no background ;)
sh $HOME/.fehbg &

numlockx &
xset r rate 250 50 & # also in ~/bin/suspend-resume.sh
source $HOME/bin/gpg-agent.sh

# autostart entries
#xcompmgr &
xbindkeys &
urxvtd -o -f -q 
xautolock -nowlocker $HOME/bin/screen-locker.sh -locker $HOME/bin/screen-locker.sh -time 5 &
sh $HOME/bin/irssi_notify.sh &

chat_terminal () {
  urxvt -g 125x+45+0+0 -e ssh mistral
}

autostart () {
	for f in $XDG_CONFIG_HOME/conky/*; do
		conky -c "$f" &
	done
  gajim &
  #urxvtc -e $HOME/bin/screen.sh 2 &
  chat_terminal &
  ossxmix -b & # also in ~/bin/suspend-resume.sh
  thunderbird &
  thunar --daemon &
	stalonetray -w -p &
	#(sleep 3 && 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