diff options
| author | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-02-06 16:09:19 +0100 |
|---|---|---|
| committer | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-02-06 16:09:19 +0100 |
| commit | 916adeeed22ccfc1217217303088ba14f330bfe6 (patch) | |
| tree | f78b6fc9788cfe73dcff6b9b80091a23238c0ab2 /config/sway/status.sh | |
| parent | 5862b3b69c7bb544bf5b697e5a0ade30ef90f579 (diff) | |
Update sway config
Diffstat (limited to 'config/sway/status.sh')
| -rwxr-xr-x | config/sway/status.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/sway/status.sh b/config/sway/status.sh index 7cd6e5d..b81c2d4 100755 --- a/config/sway/status.sh +++ b/config/sway/status.sh @@ -1,6 +1,6 @@ bat_capacity=$(cat /sys/class/power_supply/macsmc-battery/capacity) bat_status=$(cat /sys/class/power_supply/macsmc-battery/status) -datestr=$(date +'%Y-%m-%d %H:%M:%S') +datestr=$(date +'%Y-%m-%d %H:%M') drive=$(df -h / --output=avail | tail -n 1 | awk '{$1=$1};1') wifi_status=$(nmcli -t -f IN-USE,BARS,SSID dev wifi | rg '^\*') wifi_bars=$(echo ${wifi_status} | cut -d':' -f 2) |