summaryrefslogtreecommitdiffstats
path: root/.xinitrc
blob: 430f2901dcec5665b251c1a9731dc8d2fd5008b6 (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
62
63
64
65
66
67
68
69
#!/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
setxkbmap de nodeadkeys
xbindkeys &
xmodmap ~/.xmodmaprc &
urxvtd -o -f -q 
xautolock -nowlocker $HOME/bin/screen-locker.sh -locker $HOME/bin/screen-locker.sh -time 5 &

autostart () {
	notipy.py -a SOUTH_EAST -m 0,1920,0,0 &
  $HOME/bin/irssi_notify.sh & # also in ~/bin/suspend-resume.sh
  urxvt -g 125x+45+1166+0 -e ssh mistral &
  urxvt -g 125x+45+1920+0 -e ssh karif &
  stalonetray --dockapp-mode -p --kludges force_icons_size &
#  lxpanel &
  for f in $XDG_CONFIG_HOME/conky/*; do
    conky -c "$f" &
  done
	rm $HOME/passwords.kdb.lock
  keepassx&
#  transmission-qt &
  transmission-remote-gtk &
#  psi &
  gajim &
#  /opt/Samsung/SmartPanel/bin/smartpanel &
#  ossxmix -b & # also in ~/bin/suspend-resume.sh
  ossmixer.py &> /dev/null &
  thunderbird &
  liferea &
  zim &
  parcellite &
#  blueman-applet &
  $HOME/git/thetime/src/thetime -t "%F %H:%M:%S" -p 1921,1040 -f "xft:DejaVu Sans:size=10"
}

# WM
case "$1" in
  awesome|i3)
    i3 --force-xinerama &
    sleep 1
    autostart &
  ;;
  twm)
    twm &
    sleep 1
    autostart &
  ;;
  console)
    openbox &
    sleep 1
    urxvt &
  ;;
  *|openbox) 
    openbox &
    sleep 1
    autostart &
  ;;
esac

exec xinitrc