diff --git a/modules/desktop/hyprland.nix b/modules/desktop/hyprland.nix index fba2367..75de919 100644 --- a/modules/desktop/hyprland.nix +++ b/modules/desktop/hyprland.nix @@ -8,12 +8,25 @@ 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 -''; + # environment.systemPackages = [ + # (pkgs.stdenv.mkDerivation { + # pname = "hyprland-uwsm-custom-session"; + # version = "1.0"; + + # dontUnpack = true; + + # installPhase = '' + # mkdir -p $out/share/wayland-sessions + # cat > $out/share/wayland-sessions/hyprland-uwsm-custom.desktop <<'EOF' + # [Desktop Entry] + # Name=Hyprland (UWSM custom) + # Comment=Hyprland with custom options + # Exec=uwsm start hyprland + # Type=Application + # DesktopNames=Hyprland + # EOF + # ''; + # }) + # ]; }