summaryrefslogtreecommitdiffstats
path: root/xinitrc
blob: 55a12614dcf05cc7460abe77c234bc852c0c3e13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
WM='awesome'

# SSH KEYAGENT
keychain --clear -q ~/.ssh/id_dsa
source ~/.keychain/`hostname`-sh > /dev/null

# RANDOM WALLPAPER
xsetbg -onroot -border black ~/pictures/wallpaper/$(ls ~/pictures/wallpaper/ | sed -n $((RANDOM%$(ls ~/pictures/wallpaper/ | wc -l)+1))p)

xscreensaver -no-splash &
wicd-client &
etc/awesome_bar.sh &

# LET'S GO
exec $WM