From 59fc0b2a91f692a98ddb6ff55da32cb75fd73be2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Ortega=20Froysa?= Date: Mon, 30 May 2022 13:21:57 +0200 Subject: [PATCH] Modify for pius-xi --- space-usage-update | 2 +- status-update | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/space-usage-update b/space-usage-update index c2c7497..d8dccd1 100755 --- a/space-usage-update +++ b/space-usage-update @@ -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 diff --git a/status-update b/status-update index e1aaff3..2962b1b 100755 --- a/status-update +++ b/status-update @@ -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)"