diff options
Diffstat (limited to '.config/eww/scripts/wifi')
| -rwxr-xr-x | .config/eww/scripts/wifi | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/.config/eww/scripts/wifi b/.config/eww/scripts/wifi deleted file mode 100755 index 5d7cc59..0000000 --- a/.config/eww/scripts/wifi +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash - -status=$(nmcli g | grep -oE "disconnected") -essid=$(nmcli c | grep wlp2s0 | 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 - |
