From 93dfb32d241a4f39a2142d36f47205433dc19fc8 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Wed, 12 Dec 2018 00:10:51 +0100 Subject: [PATCH] Move lock-script to public dotfiles Signed-off-by: Knut Ahlers --- bin/lock | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 bin/lock diff --git a/bin/lock b/bin/lock new file mode 100755 index 0000000..e775616 --- /dev/null +++ b/bin/lock @@ -0,0 +1,5 @@ +#!/bin/bash +set -euo pipefail + +xset dpms force off +pgrep i3lock || i3lock -e -f -c 000000