This commit is contained in:
sawebb19 2022-12-28 16:44:03 -05:00
commit 6e5095f3cf
35 changed files with 453 additions and 0 deletions

17
dwm/wlan.sh Executable file
View file

@ -0,0 +1,17 @@
#!/bin/sh
case $BLOCK_BUTTON in
1) /home/swebb/Scripts/dwm/wlanMenu.sh;;
esac
conn=$(nmcli device show | sed -n 1p | sed -E 's/.*:\s*//')
case $conn in
wlp2s0)
icon="";;
enp1s0)
icon="";;
esac
echo "^c#FF5C8F^ ${icon} $(nmcli device show | sed -n 6p | sed -E 's/.*:\s*//')"