update hyprland plugins

This commit is contained in:
2026-05-08 00:01:14 +09:00
parent af6d69f9b8
commit b6f68807c0

View File

@@ -40,17 +40,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/common.conf
source = ~/.config/hypr/device/laptop.conf
'';
};
home.stateVersion = "25.05";