summaryrefslogtreecommitdiff
path: root/i3/.config
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2018-04-26 09:18:34 +0100
committerUrbain Vaes <urbain@vaes.uk>2018-04-26 09:18:34 +0100
commit6351bf54847b570bab4a597cea38115ebae396fe (patch)
tree52aea1ce32b68b5eb6bb3eefd169d595d11f35fc /i3/.config
parentc0d22295c80fcc0422563bb0c6753f263195ca40 (diff)
parent3c7228deb4585c55e65b107e0b31d45f2345e061 (diff)
Merge branch 'master' of urbainvaes.com:public/dotfiles
Diffstat (limited to 'i3/.config')
-rw-r--r--i3/.config/i3blocks/config4
1 files changed, 2 insertions, 2 deletions
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=<span color='gray'></span>
-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=<span color='gray'></span>
-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