11 lines
400 B
Bash
Executable File
11 lines
400 B
Bash
Executable File
#!/bin/sh
|
|
|
|
DATE="$(date +"%F %H:%M" )"
|
|
NETWORK="eth: $(cat /sys/class/net/enx00e04c682335/operstate)"
|
|
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"
|