summarylogtreecommitdiffstats
path: root/indicator-cpufreq.rules
diff options
context:
space:
mode:
authorQue Quotion2020-03-28 07:16:10 +0900
committerQue Quotion2020-03-28 07:31:01 +0900
commit66b7a222f55add806eb2590d1f4bd40460b14a5b (patch)
tree8c94f8a0bbea2d6df60ba8a4b403ab96b8dc83a3 /indicator-cpufreq.rules
parent153b9e512cea8c5a58ffadd0661f5fdd9dec5c63 (diff)
downloadaur-66b7a222f55add806eb2590d1f4bd40460b14a5b.tar.gz
Separate throttle from indicator-powersave
Diffstat (limited to 'indicator-cpufreq.rules')
-rw-r--r--indicator-cpufreq.rules46
1 files changed, 0 insertions, 46 deletions
diff --git a/indicator-cpufreq.rules b/indicator-cpufreq.rules
deleted file mode 100644
index c0c6bfaf2b0b..000000000000
--- a/indicator-cpufreq.rules
+++ /dev/null
@@ -1,46 +0,0 @@
-/* Original:
- * [Change CPU Frequency scaling]
- * Identity=unix-group:wheel
- * Action=com.ubuntu.indicatorcpufreqselector.setfrequencyscaling
- * ResultActive=yes
- */
-
-polkit.addRule(function(action, subject) {
- if ((action.id == "com.ubuntu.indicatorcpufreqselector.setthrottle")
- && subject.local
- && subject.active) {
- return polkit.Result.YES;
- }
-});
-
-polkit.addRule(function(action, subject) {
- if ((action.id == "com.ubuntu.indicatorcpufreqselector.setfrequencyscaling")
- && subject.local
- && subject.active) {
- return polkit.Result.YES;
- }
-});
-
-polkit.addRule(function(action, subject) {
- if ((action.id == "com.ubuntu.indicatorcpufreqselector.setpsturbo")
- && subject.local
- && subject.active) {
- return polkit.Result.YES;
- }
-});
-
-polkit.addRule(function(action, subject) {
- if ((action.id == "com.ubuntu.indicatorcpufreqselector.sethyperthreads")
- && subject.local
- && subject.active) {
- return polkit.Result.YES;
- }
-});
-
-polkit.addRule(function(action, subject) {
- if ((action.id == "com.ubuntu.indicatorcpufreqselector.setgputhrottle")
- && subject.local
- && subject.active) {
- return polkit.Result.YES;
- }
-});