ShootOptions

Options to pass to shootDesktopFile.

Members

Enums

Exec
enum Exec

Flags that changes behavior of shootDesktopFile.

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 shootDesktopFile 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, shootDesktopFile will use getTerminalCommand.

urls
const(string)[] urls;

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

Meta