Pause X screen blanking while an inhibit is active
Browsers don't pause X blanking themselves, so the screen still went black after 10 minutes even with xautolock disabled. Use XScreenSaverSuspend (MIT-SCREEN-SAVER) instead of xset: no global setting is changed, and the X server ends the pause on its own if the daemon exits or crashes. The suspend also holds off DPMS. Add libx11 and libxss to depends.
This commit is contained in:
@@ -9,7 +9,9 @@ pkgdesc='Honor org.freedesktop.ScreenSaver inhibit requests by disabling xautolo
|
||||
arch=('any')
|
||||
url="https://git.shouldnt.work/fuxino/${pkgname}"
|
||||
license=('GPL-3.0-or-later')
|
||||
depends=('python'
|
||||
depends=('libx11'
|
||||
'libxss'
|
||||
'python'
|
||||
'python-gobject'
|
||||
'xautolock')
|
||||
makedepends=('git')
|
||||
|
||||
Reference in New Issue
Block a user