i3: add hibernation & sudoers.d: allow passwordless hibernate

This commit is contained in:
Aminda Suomalainen 2019-01-30 20:12:38 +02:00
parent 5b2808e1f0
commit 518c9fcdaf
No known key found for this signature in database
GPG Key ID: 0C207F07B2F32B67
1 changed files with 3 additions and 0 deletions

3
etc/sudoers.d/hibernate Normal file
View File

@ -0,0 +1,3 @@
# Allow everyone in the sudo group to hibernate
# passwordlessly
%sudo ALL = NOPASSWD: /usr/sbin/hibernate