X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=bin%2Fbin%2Fxstatusbar.sh;h=17a1b7712ae3c04f876e459651fac6b23c01b5e1;hb=HEAD;hp=dc5c66c71954929f1ac5f5877c8eaf039d11171f;hpb=17bcc246a3515b838a7cd61bb9b0b745ef0f67bd;p=dotfiles.git diff --git a/bin/bin/xstatusbar.sh b/bin/bin/xstatusbar.sh deleted file mode 100755 index dc5c66c..0000000 --- a/bin/bin/xstatusbar.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -while :; do - life=$(apm -l) - [ -e /tmp/do-fdm ] && fdm_state="FM" || fdm_state="" - topinfo=$(top -b -d 1 0 | sed s/[,:]//g) - meminfo=$(echo "$topinfo" | grep "^Mem") - arcinfo=$(echo "$topinfo" | grep "^ARC") - xsetroot -name "$meminfo | $arcinfo | $fdm_state $life% $(date "+%Y-%m-%dT%H:%M:%S")" - sleep 20 -done