summaryrefslogtreecommitdiffstats
path: root/xinitrc
blob: 38490cdb1f4e0d800f956482c7b2d694a3976350 (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_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 &
etc/awesome_bar.sh &

# LET'S GO
exec $WM