elogind sleep lock moved?
This commit is contained in:
parent
5c1e7a3d4b
commit
1edde7b21b
1 changed files with 10 additions and 0 deletions
10
etc/elogind/system-sleep/lock.sh
Executable file
10
etc/elogind/system-sleep/lock.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
case $1/$2 in
|
||||
pre/*)
|
||||
# Put here any commands expected to be run when suspending or hibernating.
|
||||
qdbus6 --system org.freedesktop.DisplayManager /org/freedesktop/DisplayManager/Seat0 org.freedesktop.DisplayManager.Seat.SwitchToGreeter
|
||||
;;
|
||||
post/*)
|
||||
# Put here any commands expected to be run when resuming from suspension or thawing from hibernation.
|
||||
;;
|
||||
esac
|
Loading…
Add table
Reference in a new issue