Skip to content

Commit

Permalink
fix: Add wayland hint
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Nov 16, 2023
1 parent 97407fc commit 609aadc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/ticktick.nix
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ stdenv.mkDerivation (finalAttrs: {
substituteInPlace "$out/share/applications/${finalAttrs.pname}.desktop" \
--replace "Exec=/opt/TickTick/ticktick" "Exec=$out/bin/${finalAttrs.pname}"
wrapProgram $out/bin/${finalAttrs.pname} \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations}} --no-update"
runHook postInstall
'';

Expand Down

0 comments on commit 609aadc

Please sign in to comment.