diff --git a/count-updates b/count-updates deleted file mode 100755 index dacf546..0000000 --- a/count-updates +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -UPDATES=$(checkupdates | wc -l) -echo "$UPDATES" > ~/.cache/update_count diff --git a/space-usage-update b/space-usage-update deleted file mode 100755 index f32f55c..0000000 --- a/space-usage-update +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -df -h | awk '{ if ($6 == "/") printf "/: " $4; if ($6 == "/home") printf " home: " $4; if ($6 == "/media/music") printf " music: " $4; }' > $HOME/.cache/free-space diff --git a/status-update b/status-update deleted file mode 100755 index a8e866f..0000000 --- a/status-update +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -for ifname in $(ls /sys/class/net/ | grep -v 'lo') -do - if ! [ -f "/sys/class/net/$ifname/operstate" ] - then - >&2 echo "$ifname has no operstate" - continue - fi - IF_STATUS=$(cat /sys/class/net/$ifname/operstate) - IF_STATE_LIST+=("$ifname: $IF_STATUS") -done - -DATE="$(date +"%F %H:%M" )" -NETWORK="${IF_STATE_LIST[*]}" -SPACE="$(cat $HOME/.cache/free-space)" -vol_status="$(cat $HOME/.cache/audio-control/vol_status)" -vol_level="$(cat $HOME/.cache/audio-control/vol_level)%" -VOLUME="$vol_status $vol_level" -UPDATES="Upd: $(cat $HOME/.cache/update_count)" -xsetroot -name "$VOLUME | $NETWORK | $SPACE | $UPDATES | $DATE"