From f8b94a00fcf2a42421fe213d11be5df741c65637 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 20 Sep 2021 13:21:44 +0200 Subject: i3blocks: tweak and fix for new wifi interface names --- config/i3blocks/config | 2 +- config/i3blocks/scripts/iface | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'config/i3blocks') 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 }') #------------------------------------------------------------------------ -- cgit v1.2.3