add polkit rules

This commit is contained in:
Penelope Gwen 2026-01-29 17:40:27 -08:00
parent ba55484212
commit f688067e92
3 changed files with 33 additions and 0 deletions

24
debian/changelog vendored
View file

@ -1,3 +1,27 @@
pogmom-desktop (0.4.13) unstable; urgency=medium
* enable allowing 'users' group to suspend without password
-- Penelope Gwen <support@pogmom.me> Thu, 29 Jan 2026 17:31:06 -0800
pogmom-desktop (0.4.12) unstable; urgency=medium
* rounded menu corners
-- Penelope Gwen <support@pogmom.me> Mon, 10 Nov 2025 15:40:30 -0800
pogmom-desktop (0.4.11) unstable; urgency=medium
* adjust coloring (i should really check these before uploading)
-- Penelope Gwen <support@pogmom.me> Mon, 10 Nov 2025 15:31:12 -0800
pogmom-desktop (0.4.10) unstable; urgency=medium
* fix qt6ct file installs
-- Penelope Gwen <support@pogmom.me> Mon, 10 Nov 2025 15:15:31 -0800
pogmom-desktop (0.4.9) unstable; urgency=medium
* update qt6 stylings for clarity

3
debian/install vendored
View file

@ -1,2 +1,5 @@
greetd/* usr/share/greetd/pogmom/
qt6ct/colors/* usr/share/qt6ct/colors/
qt6ct/qss/* usr/share/qt6ct/qss/
sway-run /usr/bin/
polkit-rules/* /usr/share/polkit-1/rules.d/

View file

@ -0,0 +1,6 @@
polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.login1.suspend" &&
subject.isInGroup("users")) {
return polkit.Result.YES;
}
});