Modify for pius-xi

This commit is contained in:
Nicolás A. Ortega Froysa 2022-05-30 13:21:57 +02:00
parent 1ad413d50c
commit 59fc0b2a91
2 changed files with 2 additions and 2 deletions

View File

@ -1,2 +1,2 @@
#!/bin/bash
df -h | awk '{ if ($6 == "/") printf "/: " $4; if ($6 == "/home") printf " home: " $4; if ($6 == "/usr/local/share/music") printf " music: " $4; }' > $HOME/.cache/free-space
df -h | awk '{ if ($6 == "/") printf "/: " $4; if ($6 == "/home") printf " home: " $4; if ($6 == "/home/music") printf " music: " $4; }' > $HOME/.cache/free-space

View File

@ -2,7 +2,7 @@
#DATE="$(date +"%F %H:%M:%S" )"
DATE="$(date +"%F %H:%M" )"
NETWORK="eth2: $(cat /sys/class/net/eth2/operstate)"
NETWORK="eth: $(cat /sys/class/net/enp34s0/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)"