Waybar
Waybar copied to clipboard
Implement windows formating in sway/workspaces
trafficstars
This implementation mimics to some extend the implementation of hyprland
@Alexays anything else you want me to address in this PR?
LGTM, can you also update the Github wiki?
Reverted, freebsd check failed.
../src/modules/sway/workspaces.cpp:250:20: error: no member named 'any_of' in namespace 'std::ranges'
if (std::ranges::any_of(node["nodes"], [&](auto const &e) { return hasFlag(e, flag); })) {
~~~~~~~~~~~~~^
The CI runs FreeBSD 13.2 (still supported) with clang 14.x. It either has no std::ranges support or may need additional includes. Rewriting this line with std::any_of would be better for compatibility (and for the binary size).