hyprland: load hyprspace inline instead of via exec-once
home-manager's `plugins` option emits `exec-once = hyprctl plugin load`, which races IPC socket readiness on startup and silently no-ops — `hyprctl plugin list` showed nothing even though the .so existed and loaded fine when invoked manually. Switch to Hyprland's native `plugin = /path` directive in extraConfig so the load happens synchronously during config parse, before any binds referencing its dispatchers. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
db71e15904
commit
a42993d4fd
1 changed files with 7 additions and 1 deletions
|
|
@ -57,7 +57,13 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
systemd.variables = [ "--all" ];
|
systemd.variables = [ "--all" ];
|
||||||
|
|
||||||
plugins = [ pkgs.hyprlandPlugins.hyprspace ];
|
# HM's `plugins` option loads via `exec-once = hyprctl plugin load`,
|
||||||
|
# which races IPC startup and sometimes silently fails. Inject the
|
||||||
|
# native `plugin = /path` directive instead so loading happens
|
||||||
|
# synchronously during config parse.
|
||||||
|
extraConfig = ''
|
||||||
|
plugin = ${pkgs.hyprlandPlugins.hyprspace}/lib/libhyprspace.so
|
||||||
|
'';
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
# Pin the OC'd 190 Hz mode so we don't fall back to 60.
|
# Pin the OC'd 190 Hz mode so we don't fall back to 60.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue