polkit.addRule(function(action, subject) { if (1 && action.id == "com.sigexec.polkit.set-brightness" && subject.seat == "seat0" ) { return polkit.Result.YES; } });