-->
import Quickshell
A desktop entry. See DesktopEntries for details.
Name of the specific application, such as “Firefox”.
The raw Exec
string from the desktop entry.
WARNING
This cannot be reliably run as a command. See command for one you can run.
Short description of the application, such as “Web Browser”. 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.
Long description of the application, such as “View websites on the internet”. May be empty.
Name of the icon associated with this application. May be empty.
If true, this application should not be displayed in menus and launchers.
If the application should run in a terminal.
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.
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,
});