Files
lhns--steam-frame-nix/modules/launchers/fixtures/sources/org.example.App.desktop
T
Pierre Kisters 92e9d17e09 Launchers: a neutral example app in docs and tests
The Nix-package launcher example in docs and option examples is now
Signal (pkgs.signal-desktop, desktop ID "signal", sgnl:// and
signalcaptcha:// handlers). The check uses a made-up org.example.App
from a fake package (fake store path), covering the same Exec, action,
MimeType, source and missing-entry cases.

Screenshots: placeholder Steam account IDs in the docs, option example
and check.
2026-10-01 18:06:50 +02:00

26 lines
958 B
Desktop File

[Desktop Entry]
Name=Example App
Comment=A made-up Electron app from a Nix package
GenericName=Example
Keywords=Example;Test;
Exec=/nix/store/00000000000000000000000000000000-example-app-1.0/bin/example-app %U
Icon=example-app
Type=Application
StartupNotify=true
# Matches the Wayland app_id / X11 WM_CLASS Electron derives from
# package.json desktopName, so docks group windows under this entry.
StartupWMClass=org.example.App
# second-instance just focuses the main window
SingleMainWindow=true
Categories=Utility;Development;
MimeType=x-scheme-handler/example;
Actions=NewWindow;NewSession;
[Desktop Action NewWindow]
Name=New Window
Exec=/nix/store/00000000000000000000000000000000-example-app-1.0/bin/example-app "example://app/new?surface=window&source=desktop_action"
[Desktop Action NewSession]
Name=New Example Session
Exec=/nix/store/00000000000000000000000000000000-example-app-1.0/bin/example-app "example://session/new?source=desktop_action"