diff --git a/flake.lock b/flake.lock index 3ae55f6..dfdfaaa 100644 --- a/flake.lock +++ b/flake.lock @@ -187,11 +187,11 @@ "xdph": "xdph" }, "locked": { - "lastModified": 1778151950, - "narHash": "sha256-iPVgukP0AgXJBD9d8M0yX35oTE//kaAos6Ux+zPC/tw=", + "lastModified": 1778165951, + "narHash": "sha256-3pTCdJ6k64iLdE86fDxHi6TWdEHOwvQRP4B4N/5ARRE=", "owner": "hyprwm", "repo": "Hyprland", - "rev": "6b8b20100253c083227e611be20360f4d8e7794e", + "rev": "acba1c440b4e5b23338b068611710ee8e3fb8d54", "type": "github" }, "original": { diff --git a/home.nix b/home.nix index 848d69d..e4df241 100644 --- a/home.nix +++ b/home.nix @@ -50,15 +50,14 @@ programs.direnv.enable = true; programs.direnv.nix-direnv.enable = true; - xdg.configFile."hypr/plugins.lua".text = + xdg.configFile."hypr/generated.lua".text = let smw = inputs.split-monitor-workspaces.packages.${pkgs.stdenv.hostPlatform.system}.split-monitor-workspaces; in '' - --hl.on("hyprland.start", function() - hl.plugin.load("${smw}/lib/libsplit-monitor-workspaces.so") - --end) + hl.plugin.load("${smw}/lib/libsplit-monitor-workspaces.so") + require("device.pc") ''; wayland.windowManager.hyprland = {