aboutsummaryrefslogtreecommitdiff
path: root/config
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
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')
-rw-r--r--config/i3blocks/config2
-rwxr-xr-xconfig/i3blocks/scripts/iface2
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 }')
#------------------------------------------------------------------------