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 c385720f58
No known key found for this signature in database
GPG key ID: 6AB527C9196ACDCC
4 changed files with 15 additions and 5 deletions
.config/i3blocks

View file

@ -1,6 +1,12 @@
separator=true
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/ *$//'
interval=persist
background=#000000cc
[battery]
background=#000000cc
command=~/.config/i3blocks/battery-plus