diff --git a/modules/services/greetd.nix b/modules/services/greetd.nix index 60e72f9..dffb7da 100644 --- a/modules/services/greetd.nix +++ b/modules/services/greetd.nix @@ -16,6 +16,8 @@ hyprctl = getExe' hyprland "hyprctl"; Hyprland = getExe' hyprland "Hyprland"; + swww = getExe inputs.nixpkgs-wayland.packages.${pkgs.system}.swww; + swww-daemon = getExe' inputs.nixpkgs-wayland.packages.${pkgs.system}.swww "swww-daemon"; greeter = getExe pkgs.greetd.${cfg.greeter}; @@ -32,6 +34,9 @@ workspace=1,default:true,gapsout:0,gapsin:0,border:false,decorate:false + exec-once=${swww-daemon} + exec-once=${swww} clear 1E1E2E + exec-once=[workspace 1;fullscreen;noanim] ${greeter} -l; ${hyprctl} dispatch exit exec-once=${hyprctl} dispatch focuswindow ${cfg.greeter} '';