diff options
author | Urbain Vaes <urbain@vaes.uk> | 2018-04-17 18:18:11 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2018-04-17 18:18:11 +0100 |
commit | 3c7228deb4585c55e65b107e0b31d45f2345e061 (patch) | |
tree | 55d4cb5065e75cc4c1363f977d5a2b284325c42f /i3/.config/i3blocks | |
parent | 5483bcfed6fae079fcec332ac39ca00d5d723931 (diff) |
Correct bug with i3blocks
Diffstat (limited to 'i3/.config/i3blocks')
-rw-r--r-- | i3/.config/i3blocks/config | 4 |
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 |