summaryrefslogtreecommitdiff
path: root/pcr/desktop-privileges/10-cpufreqselector.rules
blob: b17ab2aa6d6d62a0f147e464263483622dff6f55 (plain)
1
2
3
4
5
polkit.addRule(function(action, subject) {
    if (action.id == "org.gnome.cpufreqselector" && subject.isInGroup("power")) {
        return polkit.Result.YES;
    }
});