Unverified Commit 9ac8b08a authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

wlx-overlay-s: add desktop file (#449686)

parents b0e724e8 85b7543b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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; };