flashfocus icon indicating copy to clipboard operation
flashfocus copied to clipboard

Don't flash with only one client visible?

Open majamin opened this issue 5 years ago • 6 comments

Is it possible to have an option that prevents a client from flashing when it is the only visible window on the screen?

majamin avatar Aug 23 '20 15:08 majamin

Is the 'flash-lone-windows' config option what you're looking for maybe?

fennerm avatar Aug 23 '20 21:08 fennerm

Is the 'flash-lone-windows' config option what you're looking for maybe?

Yes. Thanks so much.

EDIT: I tried this option, but lone windows still flash (dwm)

majamin avatar Aug 24 '20 00:08 majamin

OUTPUT of flashfocus:

INFO:root:Loading configuration from /home/marian/.config/flashfocus/flashfocus.yml
INFO:root:Initializing with parameters:
{'flash_opacity': 0.8, 'default_opacity': 1.0, 'flash_lone_windows': 'never', 'ntimepoints': 10, 'flash_on_focus': True, 'time': 500.0, 
'simple': False, 'flash_fullscreen': True, 'rules': None}
INFO:root:Initializing default window opacity...
INFO:root:Setting all windows to their default opacity...
INFO:root:Initializing threads...
INFO:root:Threads initialized, waiting for events...

majamin avatar Aug 24 '20 01:08 majamin

Hmm config option is working fine for me on i3/sway... Do you use a status bar by chance?

fennerm avatar Aug 29 '20 22:08 fennerm

I also have this issue on i3, and I do have Polybar running.

I set flash-lone-windows: 'never' and it still flashes when I have lone windows, e.g. Firefox in a desktop, and stacked windows as well.

jpmvferreira avatar Aug 24 '21 21:08 jpmvferreira

Thanks for the added detail @jpmvferreira that's very helpful. Should have time to look into this in a week or so, (but obviously feel free to grab it if you're interested)

fennerm avatar Aug 26 '21 05:08 fennerm