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:
Nico Schottelius 2013-12-12 08:40:47 +01:00
parent a4e1851ea7
commit 9afbf5a49f

4
acpi-poweroff Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
suspend=~/bin/suspend
su nico -c "DISPLAY=:0.0 $suspend"