From 3c7228deb4585c55e65b107e0b31d45f2345e061 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Tue, 17 Apr 2018 18:18:11 +0100 Subject: Correct bug with i3blocks --- i3/.config/i3blocks/config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'i3/.config/i3blocks') diff --git a/i3/.config/i3blocks/config b/i3/.config/i3blocks/config index 93850ee..bd9357e 100644 --- a/i3/.config/i3blocks/config +++ b/i3/.config/i3blocks/config @@ -31,13 +31,13 @@ signal=1 [primary] label= -command=echo "$(xclip -o | cut -c1-9)" +command=echo "$(xclip -o | cut -c1-9 | sed -e 's/[^a-zA-Z0-9\-]/_/g')" min_width=15 interval=5 [clipboard] label= -command=echo "$(xclip -o -selection "clipboard" | cut -c1-9)" +command=echo "$(xclip -o -selection "clipboard" | cut -c1-9 | sed -e 's/[^a-zA-Z0-9\-]/_/g')" instance=Master interval=5 -- cgit v1.2.3