show title of focused window in status bar
Is possible to get the title of the focused window displayed with i3status
?
Update:
With a script like the one highlighted by @mschaefer and the hint in faq.i3wm.org/question/854/how-to-force-status-bar-update/ I've been able to get the title of the focused window in the statusbar.
The bar is updated when focus is changed having the refresh ratio to 5 secs in ~/.i3status
.
I like to have tiled windows without titlebar and I think this behaiour is cool in such configurations (like dwm
does for instance)
If someone is interested, here are the relevant bits that I have in my ~/.i3/config
:
bindsym $mod+h focus left; exec killall -USR1 i3status
bindsym $mod+j focus down; exec killall -USR1 i3status
bindsym $mod+k focus up; exec killall -USR1 i3status
bindsym $mod+l focus right; exec killall -USR1 i3status