Modernize i3 setup: alacritty, dunst, rofi, i3blocks, blurlock, picom updates

This commit is contained in:
2026-02-15 06:05:55 +01:00
parent a4dad1f508
commit 0b9647b407
17 changed files with 139 additions and 73 deletions

View File

@@ -0,0 +1,16 @@
#!/bin/bash
IFACE=$(ip route | grep default | awk '{print $5}' | head -1)
if [[ -z "${IFACE}" ]]; then
echo "No connection"
echo "No connection"
echo "#FF6666"
exit 0
fi
IP=$(ip addr show "${IFACE}" | grep 'inet ' | awk '{print $2}' | cut -d/ -f1)
echo "${IFACE}: ${IP}"
echo "${IP}"
echo "#33CCFF"