From edea28f4a43bd601e989dc750ee959db337d8b45 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 26 Apr 2018 08:45:31 +0200 Subject: Initial commit --- lockscreen | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 lockscreen diff --git a/lockscreen b/lockscreen new file mode 100755 index 0000000..7f9cad5 --- /dev/null +++ b/lockscreen @@ -0,0 +1,8 @@ +#!/bin/bash + +for pid in $(ps -A | grep gpg-agent | awk '{print $1;}' | tr "\n" " ") +do + kill -s SIGHUP $pid +done + +xlock -mode blank -startCmd "xset dpms force off" -- cgit v1.2.3-70-g09d2