scripts
This commit is contained in:
commit
6e5095f3cf
35 changed files with 453 additions and 0 deletions
17
dwm/wlan.sh
Executable file
17
dwm/wlan.sh
Executable 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*//')"
|
||||
Loading…
Add table
Add a link
Reference in a new issue