FireOptions

Options to pass to fireDesktopFile.

Members

Enums

Exec
anonymousenum Exec

Flags that changes behavior of fireDesktopFile.

Variables

allowMultipleInstances
bool allowMultipleInstances;

Allow to run multiple instances of application if it does not support opening multiple urls in one instance.

flags
auto flags;

Flags By default is set to use all flags.

locale
string locale;

Locale of environment. Empty by default.

opener
void delegate(string) opener;

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() terminalDetector;

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;

Urls to pass to the program is desktop file points to application. Empty by default.

Meta