1 2 3 4 5 6 7 8 9
polkit.addRule(function(action, subject) { if (1 && action.id == "com.sigexec.polkit.set-brightness" && subject.seat == "seat0" ) { return polkit.Result.YES; } });