aboutsummaryrefslogtreecommitdiff
path: root/config/i3blocks/scripts/iface
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2021-09-20 13:21:44 +0200
committerKarel Kočí <cynerd@email.cz>2021-09-20 13:21:44 +0200
commitf8b94a00fcf2a42421fe213d11be5df741c65637 (patch)
tree6e62cb76c0d74d5608b241668bcad79b256c7dac /config/i3blocks/scripts/iface
parentd538e61fcda9185486e9313afa1764afdcbc246f (diff)
downloadmyconfigs-f8b94a00fcf2a42421fe213d11be5df741c65637.tar.gz
myconfigs-f8b94a00fcf2a42421fe213d11be5df741c65637.tar.bz2
myconfigs-f8b94a00fcf2a42421fe213d11be5df741c65637.zip
i3blocks: tweak and fix for new wifi interface names
Diffstat (limited to 'config/i3blocks/scripts/iface')
-rwxr-xr-xconfig/i3blocks/scripts/iface2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/i3blocks/scripts/iface b/config/i3blocks/scripts/iface
index d8d3ad0..abac9c0 100755
--- a/config/i3blocks/scripts/iface
+++ b/config/i3blocks/scripts/iface
@@ -19,7 +19,7 @@
# Locate current default interface, but use only wlp (wifi) or enp (ethernet)
# TODO probably also add connection over phone
-IF=$(ip route | awk '/^default .* (wlp|enp)/ { print $5 ; exit }')
+IF=$(ip route | awk '/^default .* (wlp|wlo|enp)/ { print $5 ; exit }')
#------------------------------------------------------------------------