import Quickshell A desktop entry. See DesktopEntries for details.
If the application should run in a terminal.
If true, this application should not be displayed in menus and launchers.
Short description of the application, such as “Web Browser”. May be empty.
Initial class or app id the app intends to use. May be useful for matching running apps to desktop entries.
The working directory to execute from.
Long description of the application, such as “View websites on the internet”. May be empty.
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.
The raw Exec string from the desktop entry.
WARNING
This cannot be reliably run as a command. See command for one you can run.
Name of the icon associated with this application. May be empty.
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,
});