config

My configuration files and custom scripts.
git clone https://git.tronto.net/config
Download | Log | Files | Refs

commit 1a5b904f5f4414d259919503aa3d3f6cb09afede
parent 39059afa5af82ec2427dab971685bb911cb7cb8e
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date:   Mon, 11 May 2026 08:44:55 +0200

Fix status script for wifi with spaces in name

Diffstat:
Mscripts/status-linux | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/status-linux b/scripts/status-linux @@ -35,7 +35,8 @@ fi #network="Network: $nwclean" # Thank you iwctl for saving us from this dreadful existence -network="$(iwctl station wlan0 show | grep 'Connected network' | awk '{print $3}')" +network="$(iwctl station wlan0 show | grep 'Connected network' | \ + awk '{$1=$2=""; $0=$0; print}' | sed 's/^ .//')" if [ "$(cat /sys/class/net/eth0/carrier)" = 1 ]; then if [ -z "$network" ]; then network="eth"