Closed trueNAHO closed 1 year ago
I think this would be a significant breaking change but I am willing to venture down possible routes to improve our current systems. If you have any proof of concept patches feel free to send them! ❤️
The line added to that file is to enable waybar to show the current swhkd mode, and have nothing to do with swhkd functionality. We'll update the documentation to make this less confusing.
Currently, the internal stack mode can only be accessed through the inconvenient process of appending a line to a file each time a mode is entered and removing the last line when exited. This approach is cumbersome, inefficient, and potentially introduces data inconsistencies within the internal stack mode.
To address this issue, an additional flag to retrieve the necessary information could be added. Additionally, consider incorporating a separate flag to initiate a continuous blocking process, enabling seamless broadcasting of mode entry and exit events and efficient monitoring of the stack by external scripts.