Luigit
repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by admin

polkit/10-brightness.rules

Raw
polkit.addRule(function(action, subject) {
    if (action.id == "org.freedesktop.login1.set-brightness" &&
        subject.local && subject.active) {
        return polkit.Result.YES;
    }
});