update hyprland

This commit is contained in:
2026-05-08 00:00:24 +09:00
parent b79fc0f573
commit 040e062e39
8 changed files with 96 additions and 72 deletions

View File

@@ -50,16 +50,21 @@
programs.direnv.enable = true;
programs.direnv.nix-direnv.enable = true;
xdg.configFile."hypr/plugins.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)
'';
wayland.windowManager.hyprland = {
enable = true;
xwayland.enable = true;
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
plugins = [
split-monitor-workspaces.packages.x86_64-linux.split-monitor-workspaces
];
extraConfig = ''
source = ~/.config/hypr/hyprland-custom.conf
'';
};
home.stateVersion = "25.05";