diff options
author | Karel Kočí <cynerd@email.cz> | 2021-09-20 13:21:44 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2021-09-20 13:21:44 +0200 |
commit | f8b94a00fcf2a42421fe213d11be5df741c65637 (patch) | |
tree | 6e62cb76c0d74d5608b241668bcad79b256c7dac /config/i3blocks/scripts/iface | |
parent | d538e61fcda9185486e9313afa1764afdcbc246f (diff) | |
download | myconfigs-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-x | config/i3blocks/scripts/iface | 2 |
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 }') #------------------------------------------------------------------------ |