Feature 57 (config and provisioning): modules declare config and provisions, their files rendered from templates; synced with main (issues of feature 57, 874)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# Written by the mesh (module triggerhappy, novox/hq ADR 0212). Replaced on every push.
|
||||
#
|
||||
# The daemon opens the input devices as root, then drops to the operator's account with its groups,
|
||||
# so every trigger runs as the account: it reaches the account's session bus and display, with no su
|
||||
# and no hard-coded user. Only the mesh's trigger file is read.
|
||||
[Service]
|
||||
ExecStart=
|
||||
ExecStart=/usr/bin/thd --triggers /etc/triggerhappy/triggers.d/mesh.conf --socket /run/thd.socket --user ${machine:account} --deviceglob /dev/input/event*
|
||||
@@ -0,0 +1,4 @@
|
||||
# The machine's hotkeys, written by the mesh (module triggerhappy, novox/hq ADR 0212). Replaced on
|
||||
# every push: a key is added by the module it belongs to, as a contribution to node-hotkeys.
|
||||
# A line is: the key, its state (1 pressed, 2 held, 0 released), the command.
|
||||
${contribution:node-hotkeys:trigger}
|
||||
Reference in New Issue
Block a user