From 95d0b873e077b35f91911d54f7938afe2437e344 Mon Sep 17 00:00:00 2001 From: katherine Date: Mon, 26 Jun 2017 21:50:54 -0700 Subject: slightly shorten max title-width this needs a better solution of fixing the "current dir in title" things that nvim, ranger, zsh do to make them show only two or so parent dirs rather than the entire path or back to ~ as they do now, but that's too much effort at the moment x-x --- .config/herbstluftwm/panel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/herbstluftwm/panel.sh b/.config/herbstluftwm/panel.sh index eb48a35..285270e 100755 --- a/.config/herbstluftwm/panel.sh +++ b/.config/herbstluftwm/panel.sh @@ -102,7 +102,7 @@ update_winlist() { else echo -n "${line[@]:3}" fi - } | sed -r 's/(.{40})...*/\1\.\.\./' + } | sed -r 's/(.{37})...*/\1\.\.\./' echo -n " " done echo -n "%{B${bg_normal} F${fg_normal}}" -- cgit v1.2.3