import Quickshell A desktop entry. See DesktopEntries for details.
Name of the icon associated with this application. May be empty.
Name of the specific application, such as “Firefox”.
If true, this application should not be displayed in menus and launchers.
Long description of the application, such as “View websites on the internet”. May be empty.
If the application should run in a terminal.
Short description of the application, such as “Web Browser”. May be empty.
The working directory to execute from.
The parsed Exec command in the desktop entry.
The entry can be run with execute(), or by using this command in
Quickshell.execDetached() or Process.
If used in execDetached or a Process, workingDirectory should also be passed to
the invoked process. See execute() for details.
NOTE
The provided command does not invoke a terminal even if runInTerminal is true.
Initial class or app id the app intends to use. May be useful for matching running apps to desktop entries.
The raw Exec string from the desktop entry.
WARNING
This cannot be reliably run as a command. See command for one you can run.
Run the application. Currently ignores runInTerminal and field codes.
This is equivalent to calling Quickshell.execDetached() with command and DesktopEntry.workingDirectory as shown below:
Quickshell.execDetached({
command: desktopEntry.command,
workingDirectory: desktopEntry.workingDirectory,
});