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:
parent
7fdbe97c7e
commit
496522605f
4 changed files with 58 additions and 11 deletions
|
|
@ -72,4 +72,6 @@ setxkbmap -option grp:alt_shift_toggle
|
|||
# set a timeout of 500ms, if pressed longer it will ignore esc
|
||||
type xcape >/dev/null 2>&1 && xcape -e 'Control_L=Escape' -t 500
|
||||
|
||||
type feh >/dev/null 2>&1 && exec feh --bg-scale ~/media/pictures/wall.jpg &
|
||||
type xss-lock >/dev/null 2>&1 && exec xss-lock &
|
||||
type i3 >/dev/null 2>&1 && exec i3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue