]> Sergey Matveev's repositories - dotfiles.git/blobdiff - x/.xinitrc
Memory information in dwm status bar
[dotfiles.git] / x / .xinitrc
index 89f7c19bc54d7ff8e7209e3e02b392650118aad4..37078780311c70562e5e59c9ef3ba8916c9c0699 100755 (executable)
@@ -4,12 +4,7 @@ xsetroot -solid \#222222 &
 xset b off
 # xrdb ~/.Xresources
 xmodmap ~/.Xmodmap
-while :; do
-    life=$(apm -l)
-    [ -e /tmp/do-fdm ] && fdm_state="FM" || fdm_state=""
-    xsetroot -name "$fdm_state $life% $(date "+%Y-%m-%dT%H:%M:%S")"
-    sleep 20
-done &
+~/bin/xstatusbar.sh &
 rm -f ~/.ssh/agent ; ssh-agent -a ~/.ssh/agent
 ~/bin/cleanup.sh
 exec $HOME/src/suckless/dwm/dwm