Switch to using file.

This commit is contained in:
Nicolás A. Ortega Froysa 2022-05-31 22:03:27 +02:00 committed by Nicolás A. Ortega Froysa
parent 326b550b2f
commit 6c238989f8

View File

@ -6,5 +6,5 @@ SPACE="$(cat $HOME/.cache/free-space)"
vol_status="$(cat $HOME/.cache/audio-control/vol_status)" vol_status="$(cat $HOME/.cache/audio-control/vol_status)"
vol_level="$(cat $HOME/.cache/audio-control/vol_level)%" vol_level="$(cat $HOME/.cache/audio-control/vol_level)%"
VOLUME="$vol_status $vol_level" VOLUME="$vol_status $vol_level"
UPDATES="Upd: $(checkupdates -n | wc -l)" UPDATES="Upd: $(cat $HOME/.cache/update_count)"
xsetroot -name "$VOLUME | $NETWORK | $SPACE | $UPDATES | $DATE" xsetroot -name "$VOLUME | $NETWORK | $SPACE | $UPDATES | $DATE"