summaryrefslogtreecommitdiff
path: root/polkit-1/actions/com.sigexec.polkit.set-brightness.policy
blob: 352e8bf50555d34ef4e63e781f3c103e540e070a (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>no</allow_any>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin_keep</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>