diff options
author | somini | 2021-02-26 22:41:29 +0000 |
---|---|---|
committer | somini | 2021-02-26 22:41:29 +0000 |
commit | 8b77423a3aeb5d98d08715374927c7b895f8ebb2 (patch) | |
tree | 21f2ec3753cff06bfb8e744cc4ca7af075214d8a /nl.zevv.bucklespring.run.policy | |
parent | a30a8036f3d8d1d112911b2e592fc0ea0b808440 (diff) | |
download | aur-8b77423a3aeb5d98d08715374927c7b895f8ebb2.tar.gz |
Create new libinput bucklespring alternative
Includes polkit support so that it works out of the box.
Diffstat (limited to 'nl.zevv.bucklespring.run.policy')
-rw-r--r-- | nl.zevv.bucklespring.run.policy | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/nl.zevv.bucklespring.run.policy b/nl.zevv.bucklespring.run.policy new file mode 100644 index 000000000000..3e106f79f175 --- /dev/null +++ b/nl.zevv.bucklespring.run.policy @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD polkit Policy Configuration 1.0//EN" +"http://www.freedesktop.org/software/polkit/policyconfig-1.dtd"> +<policyconfig> + <vendor>inpulse-to-talk</vendor> + <vendor_url>https://github.com/zevv/bucklespring</vendor_url> + + <action id="nl.zevv.bucklespring.run"> + <message>Prevent running the inpulse-to-talk daemon</message> + <icon_name>keyboard</icon_name> + <defaults> + <!-- Any program (in a session) can run the daemon, with the root password --> + <allow_any>no</allow_any> + <allow_inactive>no</allow_inactive> + <allow_active>auth_admin_keep</allow_active> + </defaults> + <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/buckle</annotate> + </action> + +</policyconfig> |