diff options
Diffstat (limited to '.scripts/get_wifi_name.sh')
-rwxr-xr-x | .scripts/get_wifi_name.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.scripts/get_wifi_name.sh b/.scripts/get_wifi_name.sh new file mode 100755 index 0000000..57d44a3 --- /dev/null +++ b/.scripts/get_wifi_name.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +nmcli -t -f active,ssid dev wifi | grep -e '^yes' | cut -d\' -f2 | sed 's/^yes://' | tr -d '\n' |