From 1850e8e14f511d7691948d27ce197c75af19acf7 Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Wed, 19 Oct 2016 13:39:34 +0200 Subject: [PATCH] turn of and lock screen in a single command --- local/bin/lock.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 local/bin/lock.sh diff --git a/local/bin/lock.sh b/local/bin/lock.sh new file mode 100755 index 0000000..d05ba9d --- /dev/null +++ b/local/bin/lock.sh @@ -0,0 +1,6 @@ +#!/bin/sh +{ + sleep 1 + xset dpms force off +} & +slock