diff --git a/modules/system/greetd_wayland.nix b/modules/system/greetd_wayland.nix index b441dfa..367e74f 100644 --- a/modules/system/greetd_wayland.nix +++ b/modules/system/greetd_wayland.nix @@ -8,7 +8,9 @@ }; initial_session = { - command = "source $HOME/.config/zsh/.zshrc && Hyprland > \"$XDG_RUNTIME_DIR/Hyprland.out\""; + command = "${pkgs.writeShellScript "launch.sh" '' + zsh -c "source $HOME/.config/zsh/.zshrc && Hyprland > \"$XDG_RUNTIME_DIR/Hyprland.out\"" + ''}"; user = "rin"; }; };