Unspectacular:

* Back to awesome
* Fixed IP Script
This commit is contained in:
Stefan Ritter 2009-06-10 15:17:46 +02:00
parent 5feb294375
commit 380d3abf72
2 changed files with 4 additions and 4 deletions

View file

@ -23,7 +23,7 @@ func_mem() {
while true; do
echo $SCREEN widget_tell topbar power text " `func_power` " | awesome-client
echo $SCREEN widget_tell topbar wlan text " $(print ${${$(LC_ALL=C /sbin/ifconfig wlan0)[7]}:gs/addr://}) " | awesome-client
echo $SCREEN widget_tell topbar wlan text " $(ip r | awk '{print $9}' | head -n 1) " | awesome-client
echo $SCREEN widget_tell topbar clock text " `date +"%x %T"` " | awesome-client
echo $SCREEN widget_tell topbar hostname text " `hostname` " | awesome-client

View file

@ -1,5 +1,5 @@
#!/bin/bash
WM='dwm'
WM='awesome'
keychain --clear -q ~/.ssh/id_rsa
source ~/.keychain/`hostname`-sh > /dev/null
@ -7,8 +7,8 @@ source ~/.keychain/`hostname`-sh > /dev/null
feh --bg-scale ~/pictures/wallpaper/$(ls ~/pictures/wallpaper/ | sed -n $((RANDOM%$(ls ~/pictures/wallpaper/ | wc -l)+1))p)
xset s off
killall dwm_bar.sh
etc/dwm_bar.sh &
killall awesome_bar.sh
etc/awesome_bar.sh &
exec $WM