void-packages/srcpkgs/xfce4-session/files/org.freedesktop.upower.pkla

16 lines
333 B
Plaintext

[Local hibernate]
#Identity=unix-user: your_username
Identity=unix-group:power
Action=org.freedesktop.upower.hibernate
ResultAny=yes
ResultInactive=no
ResultActive=yes
[Local suspend]
#Identity=unix-user: your_username
Identity=unix-group:power
Action=org.freedesktop.upower.suspend
ResultAny=yes
ResultInactive=no
ResultActive=yes