Auto-commit: 2026-01-06 11:20:24
This commit is contained in:
@@ -8,12 +8,25 @@
|
|||||||
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
|
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
|
||||||
withUWSM = true;
|
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
|
||||||
|
# '';
|
||||||
|
# })
|
||||||
|
# ];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user