From de58295210063ed7088b411d0da8ef37b33cb863 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Fri, 9 Sep 2022 21:11:43 +0530 Subject: switched to lemonbar --- .scripts/get_wifi_name.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 .scripts/get_wifi_name.sh (limited to '.scripts/get_wifi_name.sh') 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' -- cgit v1.2.3