Initial commit.

This commit is contained in:
2021-08-31 08:25:02 +02:00
commit 07d5e4092a
12 changed files with 248 additions and 0 deletions

12
status-update Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
#DATE="$(date +"%F %H:%M:%S" )"
DATE="$(date +"%F %H:%M" )"
NETWORK="eth2: $(cat /sys/class/net/eth2/operstate)"
SPACE="$(cat $HOME/.cache/free-space)"
#vol_out_port="$(cat $HOME/.cache/audio-control/port)"
vol_status="$(cat $HOME/.cache/audio-control/vol_status)"
vol_level="$(cat $HOME/.cache/audio-control/vol_level)%"
#VOLUME="$vol_out_port $vol_status $vol_level"
VOLUME="$vol_status $vol_level"
xsetroot -name "$VOLUME | $NETWORK | $SPACE | $DATE"