From 358b129f0fa6943f3cd6aa5be35dc64c532adb1d Mon Sep 17 00:00:00 2001 From: Bernardo Magri Date: Mon, 6 Apr 2026 21:41:24 +0100 Subject: [PATCH] refactor: harmonize Hyprland config by sourcing legacy hyprland.conf --- modules/home/hyprland.nix | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/modules/home/hyprland.nix b/modules/home/hyprland.nix index d2ead34..582c531 100644 --- a/modules/home/hyprland.nix +++ b/modules/home/hyprland.nix @@ -24,20 +24,9 @@ in "col.active_border" = "rgb(${config.colorScheme.palette.base0E})"; "col.inactive_border" = "rgb(${config.colorScheme.palette.base03})"; }; - "exec-once" = [ - "swww-daemon & sleep 0.5 && swww img ${activeWallpaper} --transition-type none" - "nomarchy-on-boot" - "nomarchy-welcome" - ] ++ (lib.optional config.nomarchy.toggles.waybar "waybar"); - "bind" = [ - "SUPER, Space, exec, walker" - "SUPER ALT, Space, exec, nomarchy-theme-selector" - "SUPER CTRL, Space, exec, nomarchy-font-selector" - "SUPER SHIFT, Space, exec, nomarchy-wallpaper-selector" - "SUPER, Return, exec, alacritty" - "SUPER, Q, killactive," - "SUPER, M, exit," - ]; }; + extraConfig = '' + source = ~/.config/hypr/hyprland.conf + ''; }; }