hyprland: separate settings for user and host

This commit is contained in:
2025-11-27 15:33:23 +03:00
parent 80583eba1d
commit fdbc52363a
8 changed files with 147 additions and 93 deletions
+5 -12
View File
@@ -1,21 +1,10 @@
{ pkgs, lib, config, inputs, ... }: {
imports = [(
import ../../../modules/user/patterns/hyprland.nix {
inherit lib;
inherit pkgs;
inherit config;
inherit inputs;
collection = "cheeeest/1767552";
swww_flags = "";
}
)];
wayland.windowManager.hyprland = let
colors = config.lib.stylix.colors;
in {
settings = {
monitor = ",preferred,auto,1";
exec-once =["${lib.getExe pkgs.linux-wallpaperengine} ~/.local/share/wpe/wallpaper --assets-dir ~/.local/share/wpe/assets --screen-root DP-3 --noautomute"];
general = {
gaps_in = 5;
gaps_out = 5;
@@ -72,6 +61,10 @@
enable_swallow = true;
};
exec-once = [
"${lib.getExe pkgs.linux-wallpaperengine} ~/.local/share/wpe/wallpaper --assets-dir ~/.local/share/wpe/assets --screen-root DP-3 --noautomute"
];
bind = [
''$mainMod Shift, S, exec, ${lib.getExe pkgs.grim} -g "$(${lib.getExe pkgs.slurp})" - | ${lib.getExe pkgs.swappy} -f -''
];