Unverified Commit 16aacb40 authored by Alexander Nabokikh's avatar Alexander Nabokikh
Browse files

hyprland: use absolute uwsm paths in hyprland-uwsm.desktop

parent 73182844
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -33,6 +33,7 @@
  re2,
  systemd,
  tomlplusplus,
  uwsm,
  wayland,
  wayland-protocols,
  wayland-scanner,
@@ -100,6 +101,9 @@ customStdenv.mkDerivation (finalAttrs: {
      --replace-fail  "@PREFIX@/" ""
    substituteInPlace example/hyprland.desktop.in \
      --replace-fail  "@PREFIX@/" ""
    substituteInPlace systemd/hyprland-uwsm.desktop \
      --replace-fail "Exec=uwsm " "Exec=${lib.getExe uwsm} " \
      --replace-fail "TryExec=uwsm" "TryExec=${lib.getExe uwsm}"
  '';

  # variables used by CMake, and shown in `hyprctl version`