summaryrefslogtreecommitdiff
path: root/network-widget/networkio.sh
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@gmail.com>2018-01-20 21:52:20 -0500
committerstreetturtle <streetturtle@gmail.com>2018-01-20 21:52:20 -0500
commitdcd6f6269018c6d5f3257c77a69624cf76fcc5d2 (patch)
tree1dbc560052c844f11a0f40a973b46e59a8d4a66a /network-widget/networkio.sh
parent86657f00894d3badbca6a52331db7d0f43c2709c (diff)
remove network widget
Diffstat (limited to 'network-widget/networkio.sh')
-rwxr-xr-xnetwork-widget/networkio.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/network-widget/networkio.sh b/network-widget/networkio.sh
deleted file mode 100755
index db3d774..0000000
--- a/network-widget/networkio.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/usr/bin/env bash
-
-ACTIVE_INTERFACE="$(ip -o link show | awk '$9~/UP/{sub(":","",$2);print $2}')"
-
-IO="$(cat /proc/net/dev | grep ${ACTIVE_INTERFACE} | sed "s/.*://" | awk '{printf $1";"$9}')"
-
-echo "${IO}"