-
Notifications
You must be signed in to change notification settings - Fork 1
/
dbus-action.conf
33 lines (31 loc) · 1.43 KB
/
dbus-action.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Configuration file for dbus-action. Mark Blakeney, Apr 2020
#
# The default configuration file exists at /etc/dbus-action.conf. A user
# can create a personal custom configuration file by copying that to
# ~/.config/dbus-action.conf and adding entries. This file is YAML
# format, see https://en.wikipedia.org/wiki/YAML.
# List of trigger definitions. Each trigger must define:
# bus: Must be "session" or "system".
# interface: Interface name, e.g. org.freedesktop.DBus.
# member: Interface member to catch and check values for.
# value_index: The index in the list of returned values at which we want
# to match. Optional, defaults to 0.
# values: The mapping of values to shell commands to execute. Order
# is not significant. Note the value is always compared as
# a string (i.e. text) rather than it's native data type.
#
# You can run "dbus-action -m" in monitor mode to help determine these
# values for configuration.
#
triggers:
# Example to trigger a command when your machine suspends, and then
# another command when it resumes from suspend.
# This trigger stops and then starts libinput-gestures for some faulty
# touchpads which require that. Uncomment below.
# - bus: system
# interface: org.freedesktop.login1.Manager
# member: PrepareForSleep
# values:
# 0: "libinput-gestures-setup restart"
# 1: "libinput-gestures-setup stop"
# vim: se sw=2 et: