summaryrefslogtreecommitdiffstats
path: root/.xinitrc
blob: 91d7fc6020c9c54bf844e0b34928ccd61eb76d84 (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
#!/bin/sh
cd $HOME

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

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

# autostart entries
xbindkeys &
xmodmap ~/.xmodmaprc &
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 < /dev/null & # also in ~/bin/suspend-resume.sh

autostart () {
  urxvt -g 125x+45+1051+260 -e ssh mistral &
  stalonetray -w -p &
  for f in $XDG_CONFIG_HOME/conky/*; do
    conky -c "$f" &
  done
  gajim &
  chat_terminal &
  /opt/Samsung/SmartPanel/bin/smartpanel &
  ossxmix -b & # also in ~/bin/suspend-resume.sh
  thunderbird &
  liferea &
  zim &
#  blueman-applet &
}

# WM
case "$1" in
  awesome)
    ck-launch-session awesome &
    sleep 1
    autostart &
  ;;
  twm)
    ck-launch-session twm &
    sleep 1
    autostart &
  ;;
  console)
    ck-launch-session openbox &
    sleep 1
    urxvtc &
  ;;
  *|openbox) 
    ck-launch-session openbox &
    sleep 1
    autostart &
  ;;
esac

exec xinitrc