xeno/xinitrc

17 lines
385 B
Bash
Executable file

#!/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