Modify for pius-xi
This commit is contained in:
parent
1ad413d50c
commit
59fc0b2a91
@ -1,2 +1,2 @@
|
|||||||
#!/bin/bash
|
#!/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
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#DATE="$(date +"%F %H:%M:%S" )"
|
#DATE="$(date +"%F %H:%M:%S" )"
|
||||||
DATE="$(date +"%F %H:%M" )"
|
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)"
|
SPACE="$(cat $HOME/.cache/free-space)"
|
||||||
#vol_out_port="$(cat $HOME/.cache/audio-control/port)"
|
#vol_out_port="$(cat $HOME/.cache/audio-control/port)"
|
||||||
vol_status="$(cat $HOME/.cache/audio-control/vol_status)"
|
vol_status="$(cat $HOME/.cache/audio-control/vol_status)"
|
||||||
|
Loading…
Reference in New Issue
Block a user