add script to poweroff the system via acpi and lock the screen
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
parent
a4e1851ea7
commit
9afbf5a49f
1 changed files with 4 additions and 0 deletions
4
acpi-poweroff
Executable file
4
acpi-poweroff
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
suspend=~/bin/suspend
|
||||||
|
su nico -c "DISPLAY=:0.0 $suspend"
|
Loading…
Reference in a new issue