blob: ef15d276b5e911120ca52e085f01a4c39f14e7f4 (
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
|
#!/bin/bash
cd $HOME
export VDPAU_NVIDIA_NO_OVERLAY=1
export SDL_AUDIODRIVER=alsa
export SSH_AUTH_SOCK=$HOME/.gnupg/S.gpg-agent.ssh
[[ -f ~/.nvidia-settings-rc ]] && nvidia-settings -l
xrandr --output DVI-D-0 --left-of DVI-I-1
# I don't like no background ;)
dash $HOME/.bg &
numlockx
xset -dpms
xset r rate 250 50 &
source $HOME/bin/gpg-agent.sh
# autostart entries
setxkbmap de nodeadkeys
(sleep 4; xbindkeys) &
xkbcomp ~/.xkbmap $DISPLAY &
xautolock -nowlocker $HOME/bin/screen-locker.sh -locker $HOME/bin/screen-locker.sh -time 10 &
pulseaudio --start &
remote-notify-client.sh </dev/null &
# might need --glx-copy-from-front to reduce lag in urxvt
compton -bfzCG --backend glx --vsync opengl-swc --paint-on-overlay -D2 #--glx-no-rebind-pixmap --glx-no-stencil --unredir-if-possible
redshift -l 48.190:15.62 -t 5700:4000 -m randr &
autostart () {
#urxvt -g 125x+45+1041+0 -e ssh mistral &
#urxvt -g 125x+45+1920+0 -e ssh karif &
stalonetray --dockapp-mode -p --kludges force_icons_size &
for f in $XDG_CONFIG_HOME/conky/*; do
conky -c "$f" &
done
rm -f $HOME/passwords.kdb.lock
keepassx &
transmission-remote-gtk &
thunderbird &
clipit &
#$HOME/git/thetime/src/thetime -t "%F %H:%M:%S" -p 1921,1160 -f "xft:DejaVu Sans:size=10"
}
# WM
case "$1" in
console)
openbox &
sleep 1
urxvt &
;;
*|openbox)
openbox &
sleep 1
autostart &
;;
esac
exec xinitrc
|