10-backlight.rules 221 B

12345678910111213
  1. polkit.addRule(function(action, subject) {
  2. if (action.id.indexOf("org.kde.powerdevil.backlighthelper.") == 0 &&
  3. subject.isInGroup("users")) {
  4. return polkit.Result.YES;
  5. }
  6. });