Struct FireOptions
Options to pass to fireDesktopFile
.
struct FireOptions
;
Fields
Name | Type | Description |
---|---|---|
allowMultipleInstances
|
bool | Allow to run multiple instances of application if it does not support opening multiple urls in one instance. |
flags
|
int | Flags By default is set to use all flags. |
locale
|
string | Locale of environment. Empty by default. |
opener
|
void delegate(string) | Delegate that will be used to open url if desktop file is link. To set static function use std.functional.toDelegate. If it's null fireDesktopFile will use xdg-open. |
terminalDetector
|
const(string)[] delegate() | Delegate that will be used to get terminal command if desktop file is application and needs to ran in terminal. To set static function use std.functional.toDelegate. If it's null, fireDesktopFile will use getTerminalCommand. |
urls
|
const(string)[] | Urls to pass to the program is desktop file points to application. Empty by default. |