From 85b7543b4ef331560fc4f31277f912df651f7ff5 Mon Sep 17 00:00:00 2001 From: Sapphire Date: Tue, 7 Oct 2025 17:24:41 -0500 Subject: [PATCH] wlx-overlay-s: add desktop file --- pkgs/by-name/wl/wlx-overlay-s/package.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/by-name/wl/wlx-overlay-s/package.nix b/pkgs/by-name/wl/wlx-overlay-s/package.nix index 7eb8aa5c7ea7..0b380a30e1ff 100644 --- a/pkgs/by-name/wl/wlx-overlay-s/package.nix +++ b/pkgs/by-name/wl/wlx-overlay-s/package.nix @@ -78,9 +78,15 @@ rustPlatform.buildRustPackage rec { postPatch = '' substituteAllInPlace src/res/watch.yaml \ --replace '"pactl"' '"${lib.getExe' pulseaudio "pactl"}"' + substituteInPlace wlx-overlay-s.desktop \ + --replace 'Categories=Utility;' 'Categories=Utility;X-WiVRn-VR;' # TODO: src/res/keyboard.yaml references 'whisper_stt' ''; + postInstall = '' + install -Dm644 wlx-overlay-s.desktop $out/share/applications/wlx-overlay-s.desktop + install -Dm644 wlx-overlay-s.svg $out/share/icons/hicolor/scalable/apps/wlx-overlay-s.svg + ''; passthru = { tests.testVersion = testers.testVersion { package = wlx-overlay-s; };