AlarmdActionExec

AlarmdActionExec — An action that runs a command.

Synopsis




            AlarmdActionExec;
AlarmdAction* alarmd_action_exec_new        (void);

Description

AlarmdActionExec is an action type that, upon firing, runs a command. The command is run with g_spawn_command_line_async, and the command is specified in property AlarmdActionExec:name. The command is done with the same priviledges as the daemon is running.

AlarmdActionExec also includes the dialog showing properties of AlarmdActionDialog, see its documentation for details. The rest of the action is only run if the dialog is closed; so on snooze the action will be delayed too.

Details

AlarmdActionExec

typedef struct {
	AlarmdActionDialog parent_instance;
} AlarmdActionExec;


alarmd_action_exec_new ()

AlarmdAction* alarmd_action_exec_new        (void);

Creates new exec alarmd action.

Returns : Newly created AlarmdActionExec.

See Also

AlarmdAction, AlarmdActionDbus