wlx-overlay-s: add desktop file (#449686)
This commit is contained in:
@@ -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; };
|
||||
|
||||
Reference in New Issue
Block a user