Open Cyliann opened 3 years ago
Interesting idea but no, this isn't possible at it's current state.
This would require to monitor the entire X session for all window changes, check if a window-manager specific floating flag is set and act upon it (floating is different across wms like i3, awesome, dwm etc.).
As this is wm dependent it's not something I would want add to hideIt but if there's a way to do said monitoring you still can achieve this with a custom script + hideIt by using the --signal
option.
The custom script would have to monitor your X session (not sure how, this would be your homework :P) and when the the active window or the floating state of the active window changes, you'd call:
$ hideIt.sh --name <window you want to hide/show> --toggle
Hope this was at least somewhat helpful :)
Thanks a lot. I'll think about it, but i'm just a beginner, so it'll take a lot of time. I'll write here any updates
I want to hide my polybar only when a floating window is in focus (eg. firefox). Any idea how to do it? I use AwesomeWM