summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Ritter <xeno@thehappy.de>2009-06-01 03:59:30 +0200
committerStefan Ritter <xeno@thehappy.de>2009-06-01 03:59:30 +0200
commitfed76880e4646d61c387288898c55442513a5967 (patch)
treedb8117a5af683fb2daf23a4ae76d81cbeb5ce6ba
parent9124e1e8138ec4e2e4e37aa1a301fc67c8883377 (diff)
Several dwm stuff
-rwxr-xr-xdwm_bar.sh8
-rwxr-xr-xxinitrc16
2 files changed, 20 insertions, 4 deletions
diff --git a/dwm_bar.sh b/dwm_bar.sh
new file mode 100755
index 0000000..0b056a6
--- /dev/null
+++ b/dwm_bar.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+while true;
+do
+ xsetroot -name "$(ip r | awk '{print $9)' | head -n 1) $(date) $(hostname) "
+done
+
+# vim: set tw=0:
diff --git a/xinitrc b/xinitrc
index 1af4fb6..8a9ef55 100755
--- a/xinitrc
+++ b/xinitrc
@@ -1,5 +1,5 @@
#!/bin/bash
-WM='awesome'
+WM='dwm'
# SSH KEYAGENT
keychain --clear -q ~/.ssh/id_rsa
@@ -10,8 +10,16 @@ feh --bg-scale ~/pictures/wallpaper/$(ls ~/pictures/wallpaper/ | sed -n $((RANDO
#xscreensaver -no-splash &
wicd-client &
-killall awesome_bar.sh
-etc/awesome_bar.sh &
+
+# Awesome statusbar
+#killall awesome_bar.sh
+#etc/awesome_bar.sh &
+
+# dwm stuff
+killall dwm_bar.sh
+etc/dwm_bar.sh &
# LET'S GO
-exec $WM
+exec $WM
+
+# vim: set tw=0: