update hyprland plugins
This commit is contained in:
18
home.nix
18
home.nix
@@ -40,17 +40,21 @@
|
|||||||
programs.direnv.enable = true;
|
programs.direnv.enable = true;
|
||||||
programs.direnv.nix-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 = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
xwayland.enable = true;
|
xwayland.enable = true;
|
||||||
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
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";
|
home.stateVersion = "25.05";
|
||||||
|
|||||||
Reference in New Issue
Block a user