diff --git a/modules/desktop/hyprland.nix b/modules/desktop/hyprland.nix index f556f85..fba2367 100644 --- a/modules/desktop/hyprland.nix +++ b/modules/desktop/hyprland.nix @@ -8,4 +8,12 @@ portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland; withUWSM = true; }; + environment.etc."xdg/wayland-sessions/hyprland-uwsm-custom.desktop".text = '' + [Desktop Entry] + Name=Hyprland (UWSM custom) + Comment=Hyprland with my custom setup + Exec=${pkgs.uwsm}/bin/uwsm start -F -- ${inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland}/bin/start-hyprland + Type=Application +''; + }