X: Improve lockscreen handling

Added lockscreen trapping and media pausing for lockscreen.
When it is invoked `lockscreen`, all media will be attempted to be pause
and the system will be muted.
Then the lockscreen is engaged.
This should happen automatically when the screen shuts off or the system
suspends or hibernates and can be invoked manually, as before, with
super+x shortcut.
This commit is contained in:
Marty Oehme 2021-07-28 14:04:59 +02:00
parent 7fdbe97c7e
commit 496522605f
Signed by: Marty
GPG key ID: B7538B8F50A1C800
4 changed files with 58 additions and 11 deletions

View file

@ -220,6 +220,7 @@ xclip
xorg-xev
xorg-xinit
xorg-xinput
xss-lock
youtube-dl
zathura-pdf-mupdf
zsh-autosuggestions