Add Hyprland stuff

This commit is contained in:
2023-11-27 23:31:36 +01:00
parent 06b642ae28
commit 5017ee7099
9 changed files with 143 additions and 123 deletions

View File

@ -24,7 +24,7 @@ network_print() {
signal=$(nmcli -t -f in-use,signal device wifi list ifname "$device" | grep "\*" | cut -d ':' -f 2)
if [ "$signal" -lt 40 ]; then
description="$description - %{F#f9cc18}$signal%%{F-}"
description="$description - $signal"
fi
elif [ "$type" = "802-3-ethernet" ]; then
icon=""
@ -53,9 +53,9 @@ network_print() {
fi
if [ $counter -gt 0 ]; then
printf " %s %s" "$icon" "$description"
printf "%s %s" "$icon" "$description"
else
printf "%s %s" "$icon" "$description"
printf "%s %s" "$icon" "$description"
fi
counter=$((counter + 1))