summaryrefslogtreecommitdiffstats
path: root/xinitrc
blob: 918bdfcd55ed0cb7d1f623c5cfd69510350311f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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 &
killall awesome_bar.sh
etc/awesome_bar.sh &

# LET'S GO
exec $WM