pogmom-desktop/polkit-rules/pogmom-desktop.rules
Penelope Gwen 558b265ea3
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions2 (push) Has been cancelled
revert dms migration lmao
2026-06-24 08:50:51 -07:00

7 lines
242 B
Text

polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.systemd1.manage-units" &&
action.lookup("unit") == "suspend.target" &&
subject.isInGroup("users")) {
return polkit.Result.YES;
}
});