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 | |
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')
-rw-r--r-- | config/i3blocks/config | 2 | ||||
-rwxr-xr-x | config/i3blocks/scripts/iface | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config/i3blocks/config b/config/i3blocks/config index 5ae72f8..9cd983e 100644 --- a/config/i3blocks/config +++ b/config/i3blocks/config @@ -1,6 +1,6 @@ # i3blocks config file command=/usr/libexec/i3blocks/$BLOCK_NAME -separator_block_width=15 +separator_block_width=10 markup=none [mpd] 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 }') #------------------------------------------------------------------------ |