show window title in swaybar. set title in prompt

This commit is contained in:
Daniel Lundin 2020-03-08 17:22:59 +01:00
commit 75c5b20eb7
No known key found for this signature in database
GPG key ID: 6AB527C9196ACDCC
2 changed files with 3 additions and 3 deletions
.config/i3blocks

View file

@ -3,7 +3,7 @@ separator_block_width=40
[window]
align=left
command=swaymsg -t subscribe -m '["window"]' | jq --unbuffered -M -r '.container.name' | stdbuf -oL cut -c -80 | stdbuf -oL sed -e 's/ *$//'
command=swaymsg -t subscribe -m '["window"]' | stdbuf -oL jq --unbuffered -M -r '.container.name // empty' | stdbuf -oL cut -c -80 | stdbuf -oL sed -e 's/ *$//'
interval=persist
background=#000000cc