mirror of
git://slackware.nl/current.git
synced 2025-01-11 08:01:05 +01:00
10 lines
206 B
Text
10 lines
206 B
Text
polkit.addRule(
|
|||
function(action, subject) {
|
|||
if ( action.id == "org.kde.powerdevil.discretegpuhelper.hasdualgpu" &&
|
|||
subject.isInGroup("power") ) {
|
|||
return polkit.Result.YES;
|
|||
}
|
|||
}
|
|||
);
|
|||
|