fingerprintd/packaging/fingers.conf.example

28 lines
1.1 KiB
Text
Raw Normal View History

# fingerprintd-agent — what a finger does in YOUR session.
#
# Install as ~/.config/fingerprintd/fingers.conf, then:
# systemctl --user enable --now fingerprintd-agent
#
# One finger per line:
#
# <finger> <command...>
#
# The command runs as you, with your session's environment, so it can start
# applications — which is exactly what the daemon cannot do, being root with
# no session bus and no display.
#
# This file is yours. It is re-read whenever it changes, so editing it needs no
# restart, and unlike /etc/fingerprintd/actions.conf it is not a root shell:
# relative commands are fine and nothing checks its ownership.
#
# Fingers: left-thumb, left-index-finger, left-middle-finger, left-ring-finger,
# left-little-finger, and the right-* equivalents. A name that is not one of
# those is reported at startup rather than silently never firing.
#
# NOTE: a finger fires this every time it MATCHES, which includes the press
# that unlocks the phone. If you map your unlock finger, the app opens on
# every unlock.
#right-ring-finger kde-open camera
#left-index-finger plasma-settings
#left-thumb sh -c 'notify-send "hello from a finger"'