diff options
Diffstat (limited to 'polkit-1/rules')
-rw-r--r-- | polkit-1/rules/90-set-brightness.rules | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/polkit-1/rules/90-set-brightness.rules b/polkit-1/rules/90-set-brightness.rules new file mode 100644 index 0000000..f8b158a --- /dev/null +++ b/polkit-1/rules/90-set-brightness.rules @@ -0,0 +1,9 @@ +polkit.addRule(function(action, subject) { + if (1 + && action.id == "com.sigexec.polkit.set-brightness" + && subject.seat == "seat0" + ) + { + return polkit.Result.YES; + } +}); |