summaryrefslogtreecommitdiff
path: root/polkit-1/actions/com.sigexec.polkit.set-brightness.policy
blob: 024589cdcb8244811402c06c5c0a71e673ca641f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?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>Olivier Gayot</vendor>
  <vendor_url>http://sigexec.com</vendor_url>

  <action id="com.sigexec.polkit.set-brightness">
    <description>Set the brightness of the monitor</description>
    <description xml:lang="fr">Règle la luminosité de l'écran</description>
    <defaults>
      <allow_any>auth_admin</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
    <annotate key="org.freedesktop.policykit.exec.path">/usr/local/bin/brightness</annotate>
    <annotate key="org.freedesktop.policykit.exec.argv1">set</annotate>
  </action>

</policyconfig>