Hi all,
I wanted to share the following tool which I have been using myself for the
past couple weeks:
https://codeberg.org/NRK/xuv
It's a X11 daemon that automatically runs commands triggered by events
specified by the user's configuration.
For example, to automatically kill compositor when a window enters fullscreen:
[CompositorOff]
event = ActiveFS
cmd = pkill SomeCompositor
And then to enable it back on:
[CompositorOn]
event = ActiveFSLeave
cmd = SomeCompositor
Events can be further filtered by the window name, class and instance.
The following events are currently supported:
* Window becoming active/losing active.
* Window being focused/losing focus.
* Window being created/destroyed.
* Window being mapped/unmapped.
* Window entering/leaving fullscreen mode.
More events can be added based on use-cases/feature-requests.
Detailed documentation can be found in the manpages.
Suggestions/feedback/bug-reports welcome.
- NRK