mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-08-13 16:39:22 +02:00
Organize data files that hook into other packages
This commit is contained in:

committed by
afayaz-feral

parent
1e24067430
commit
898ab01924
38
data/polkit/actions/com.feralinteractive.GameMode.policy.in
Normal file
38
data/polkit/actions/com.feralinteractive.GameMode.policy.in
Normal file
@@ -0,0 +1,38 @@
|
||||
<?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>
|
Reference in New Issue
Block a user