mirror of
https://github.com/lhns/steam-frame-nix.git
synced 2026-10-06 04:04:16 +02:00
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.
26 lines
958 B
Desktop File
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"
|