/win-rearrange-cxx

Tool to automatically rearrange windows in X11 and Windows based on a given configuration.

Primary LanguageC++MIT LicenseMIT

Win-Rearrange-CXX

license Unix Windows

This tool allows to position, resize and raise/lower windows on the stack based on a given configuration. Normally you would trigger that based on some feedback. Currently it just applies the rules of the configuration in a set interval of 10 seconds.

I created this project because I had to fix issues in a code base at my workplace that provided the same functionality but was way more complex. I got the feeling its way too overengineered. Thus, I took the time to implement it as a quick side project to check whether the huge code base at work was really necessary. The project uses two libraries, Xlib for window control and cereal for XML parsing. As you can see, the code base of this project is small and quick to understand.