11 lines
386 B
Bash
Executable File
11 lines
386 B
Bash
Executable File
#!/bin/sh
|
|
|
|
DATE="$(date +"%F %H:%M" )"
|
|
NETWORK="eth: $(cat /sys/class/net/enp34s0/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: $(checkupdates -n | wc -l)"
|
|
xsetroot -name "$VOLUME | $NETWORK | $SPACE | $UPDATES | $DATE"
|