diff options
Diffstat (limited to 'sys-power/radeon-profile/files')
-rw-r--r-- | sys-power/radeon-profile/files/org.redcorelinux.radeon-profile.policy | 22 | ||||
-rwxr-xr-x | sys-power/radeon-profile/files/radeon-profile-pkexec | 2 |
2 files changed, 24 insertions, 0 deletions
diff --git a/sys-power/radeon-profile/files/org.redcorelinux.radeon-profile.policy b/sys-power/radeon-profile/files/org.redcorelinux.radeon-profile.policy new file mode 100644 index 00000000..700b1030 --- /dev/null +++ b/sys-power/radeon-profile/files/org.redcorelinux.radeon-profile.policy @@ -0,0 +1,22 @@ +<?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/policyconfig.dtd"> +<policyconfig> + + <vendor>Redcore Linux</vendor> + <vendor_url>http://redcorelinux.org</vendor_url> + + <action id="org.redcorelinux.radeon.pkexec.run"> + <description>Run Radeon Profile</description> + <message>Authentication is required to run Radeon Profile</message> + <icon_name>redcore-logo</icon_name> + <defaults> + <allow_any>no</allow_any> + <allow_inactive>no</allow_inactive> + <allow_active>auth_admin</allow_active> + </defaults> + <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/radeon-profile</annotate> + <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> + </action> +</policyconfig> diff --git a/sys-power/radeon-profile/files/radeon-profile-pkexec b/sys-power/radeon-profile/files/radeon-profile-pkexec new file mode 100755 index 00000000..a5ddfcad --- /dev/null +++ b/sys-power/radeon-profile/files/radeon-profile-pkexec @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +pkexec /usr/bin/radeon-profile |