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

# SSH KEYAGENT
keychain --clear -q ~/.ssh/id_rsa
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 &
#killall awesome_bar.sh
#etc/awesome_bar.sh &

# LET'S GO
exec $WM