Fix hyprland

This commit is contained in:
2025-02-01 21:41:53 +02:00
parent 7344a9e77a
commit 73a0cc0977
50 changed files with 1613 additions and 601 deletions

23
config/eww/scripts/wifi Executable file
View File

@@ -0,0 +1,23 @@
#!/bin/bash
status=$(nmcli g | \grep -oE "disconnected")
essid=$(nmcli c | \grep wlan0 | awk '{print ($1)}')
if [ $status ] ; then
icon=""
text=""
col="#575268"
else
icon=""
text="${essid}"
col="#a1bdce"
fi
if [[ "$1" == "--COL" ]]; then
echo $col
elif [[ "$1" == "--ESSID" ]]; then
echo $text
elif [[ "$1" == "--ICON" ]]; then
echo $icon
fi