2021-08-31 06:25:02 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
DATE="$(date +"%F %H:%M" )"
|
2022-05-30 11:21:57 +00:00
|
|
|
NETWORK="eth: $(cat /sys/class/net/enp34s0/operstate)"
|
2021-08-31 06:25:02 +00:00
|
|
|
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"
|
2022-05-31 20:03:27 +00:00
|
|
|
UPDATES="Upd: $(cat $HOME/.cache/update_count)"
|
2022-05-30 11:31:35 +00:00
|
|
|
xsetroot -name "$VOLUME | $NETWORK | $SPACE | $UPDATES | $DATE"
|