fennerm/flashfocus

Disable flash focus while using tabbed in i3

huyhoang8398 opened this issue · 3 comments

Can we disable flash focus while using tabbed layout in i3?

@huyhoang8398 could you describe the behavior you'd like in a bit more detail? Specifically are you saying you would like windows not to flash when you change tabs? or would you like windows to never flash if they have tabs?

I'm slightly hesitant to add i3-specific features but I'm open to it if the implementation is not too complex.

2021-07-07.22-43-05.mp4

I usually use tabbed layout as in the video, and for me i dont think it need to flash the window in tabbed layout because we already have the tab name on top of the window stack

Thanks for the added detail @huyhoang8398. I don't use i3 (or tabbed windows) so I don't think I'll take this on personally. I do think this is a good feature though and I would accept a PR.

Some hints for what would be needed here:

  • Some way to detect that a user is using i3 in flashfocus.compat
  • A new config option and CLI argument
  • A method in flashfocus.display_protocols for checking whether a window is tabbed
  • Some logic in flashfocus.router to exempt tabs from flashing.