From 2280a8ab9fa2eae9362f7e3f51b167c8d1ec646b Mon Sep 17 00:00:00 2001 From: Eduardo Pedroni Date: Mon, 4 Jan 2016 21:49:15 +0100 Subject: Updated statusbar, removed wlan templates --- dwm-statusbar | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'dwm-statusbar') diff --git a/dwm-statusbar b/dwm-statusbar index 5bb2d22..453488e 100755 --- a/dwm-statusbar +++ b/dwm-statusbar @@ -221,18 +221,6 @@ print_eth() { # Configure the adapter to display above, strength might need to be tweaked print_wlan() { - - wifi_status=$(ip addr show dev wlan0 | awk 'NR==1 {print $9}') - - if [ "$wifi_status" == "UP" ]; then - - wifi_ip=$(ip addr show dev wlan0 | awk 'NR==3 {print $2}' | sed -r 's/\/.*/, /') - - else - icon_colour=${colour_faded} - fi - - wlan_status=$(ip addr show dev ${wlan_adapter} | awk 'NR==1 {print $9}') if [ "$wlan_status" == "UP" ]; then -- cgit v1.2.3