feat: Update hypr configs

This commit is contained in:
2025-11-15 13:16:46 +11:00
parent 5857d4a0ed
commit 88cca79368
7 changed files with 121 additions and 103 deletions

View File

@@ -80,15 +80,7 @@ else
fi
# Get WIFI SSID if connected
WIFI_SSID=""
if command -v nmcli >/dev/null 2>&1; then
WIFI_SSID=$(nmcli -t -f active,ssid dev wifi | grep '^yes:' | cut -d: -f2)
fi
if [ -n "$WIFI_SSID" ]; then
echo " SSID: ${WIFI_SSID} (${INTERNET_STATUS})"
else
echo " Internet: ${INTERNET_STATUS}"
fi
echo " Internet: ${INTERNET_STATUS}"
# Get network info for each active interface
for IFACE in $(ls /sys/class/net/ | grep -E '^(en|wl|wg|tailscale|tun)'); do
@@ -108,4 +100,4 @@ for IFACE in $(ls /sys/class/net/ | grep -E '^(en|wl|wg|tailscale|tun)'); do
fi
done
curl https://wttr.in/Canberra\?format\="%l:+%t+UV:+%u"
# curl https://wttr.in/Canberra\?format\="%l:+%t+UV:+%u"