gamemode/data/polkit/actions/com.feralinteractive.GameMode.policy.in
2022-08-05 11:35:24 +01:00

39 lines
1.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
<policyconfig>
<!--
Copyright (c) 2017-2019, Feral Interactive
All rights reserved.
-->
<vendor>Feral GameMode Activation</vendor>
<vendor_url>http://www.feralinteractive.com</vendor_url>
<action id="com.feralinteractive.GameMode.governor-helper">
<description>Modify the CPU governor</description>
<message>Authentication is required to modify the CPU governor</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">@LIBEXECDIR@/cpugovctl</annotate>
</action>
<action id="com.feralinteractive.GameMode.gpu-helper">
<description>Modify the GPU clock states</description>
<message>Authentication is required to modify the GPU clock states</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">@LIBEXECDIR@/gpuclockctl</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig>