Closed Kazuto closed 6 months ago
What do you mean with "doesn't work"? Does it crash? Do the keybinds not work? Does it not assign the correct window ids?
I have my count set to 6 If I do a reload of hyprload "bind=SUPERSHIFT,R,hyprload,reload" it sets. 1-10 to DP-3 11-20 to DP-1 If I log-in with my second monitor DP-1 off and then turn it on, it triggers and properly sets. 1-6 DP-3 7-12 DP-1 If I turn any monitor off or on after that it normally sets it back to 1-10 ect. It has only properly set itself twice with a key bind reload.
I assume it is due to this Hyprland bug: https://github.com/hyprwm/Hyprland/issues/2510
For now you can fix it by changing the value here: https://github.com/Duckonaut/split-monitor-workspaces/blob/main/src/main.cpp#L101 and rebuilding.
That issue issues/2510 seems resolved but config value doesn't reflect.
Hmm, this is probably related to how Hyprland lazy-loads the config file, so the value doesn't get populated as the plugin is loaded. I'll try to force it to.
I've tried setting it in
hyprland.conf
atplugins
as well as in
hyprload.toml
but none of these methods work