summaryrefslogtreecommitdiff
path: root/base/xsession
blob: 21abad019caa68f12ee8258070d209c39050e39c (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
# Set my editor and terminal
export EDITOR=vim
export TERMINAL=urxvt

# Some X Stuff
xsetroot -solid "#333333"
ulimit -c unlimited

# Startup applications
/usr/lib/gnome-settings-daemon/gnome-settings-daemon &
/usr/lib/notification-daemon/notification-daemon &
(sleep 8; start-pulseaudio-x11) &
(sleep 60; update-notifier) &
(sleep 5; gnome-sound-applet) &
(sleep 5; nm-applet) &
(sleep 5; system-config-printer-applet) &
#eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh,gpg) &
(sleep 5; nitrogen --restore) &
gtk-theme-switch2 -i Ambiance
xrdb $HOME/.Xresources
urxvtd -q -f -o

# Host Specific Settings
if [ -f ~/.host-specific/xession ]; then
    source ~/.host-specific/xsession
fi

# Make the i3 config

make_i3_config > $HOME/.config/i3/config

if [ -x ~/dev/i3/i3 ]; then
    exec ~/dev/i3/i3
else
    exec i3
fi