diff options
author | katherine <shmibs@shmibbles.me> | 2017-06-26 21:50:54 -0700 |
---|---|---|
committer | katherine <shmibs@shmibbles.me> | 2017-06-26 21:50:54 -0700 |
commit | 95d0b873e077b35f91911d54f7938afe2437e344 (patch) | |
tree | d40fdefd4a0764ddb67ae11afc0b0ab92a8e65ea | |
parent | b2971d8a495efecef306741e637612a848b9d693 (diff) | |
download | dotfiles-95d0b873e077b35f91911d54f7938afe2437e344.tar.gz |
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
-rwxr-xr-x | .config/herbstluftwm/panel.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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}}" |