aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEduardo Pedroni <e.pedroni91@gmail.com>2016-01-04 21:49:15 +0100
committerEduardo Pedroni <e.pedroni91@gmail.com>2016-01-04 21:49:15 +0100
commit2280a8ab9fa2eae9362f7e3f51b167c8d1ec646b (patch)
tree7320298c312019d09b39927ba0b81ac56bf68ed0
parent1bb82a62c6a56f53ccab66d3b01a1bb84337e5ce (diff)
Updated statusbar, removed wlan templates
-rwxr-xr-xdwm-statusbar12
1 files changed, 0 insertions, 12 deletions
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