This project has already been significantly improved by skilled programmers, and I do appreciate the fact. To keep things in the proper order, however, please consider the priority list:
- bug fixes
- new features
- optimization, refactoring, e.t.c.
Please test your changes not in sway only, but also in i3 and Openbox.
Before submitting a major PR, it makes sense to open an issue, and discuss the changes you're planning on.
Please use the Google Style Guide, especially if it comes to braces in Conditionals, Loops and Switch statements. 80 characters in a line is all right, up to 120 is acceptable.
...are the only feedback we have. Do not hesitate to submit.