From 8180cf38e6198fce5cd30d84f633bc154191829f Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Thu, 4 Oct 2018 08:42:00 +0200 Subject: Refactored stuff --- i3lock | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 i3lock (limited to 'i3lock') diff --git a/i3lock b/i3lock new file mode 100755 index 0000000..c0058ec --- /dev/null +++ b/i3lock @@ -0,0 +1,7 @@ +xwd -root | convert xwd:- -filter Gaussian -thumbnail 20% -sample 500% \ + \( -background none -density 250x250 /usr/share/icons/ContrastHigh/scalable/actions/system-lock-screen.svg -gravity center -geometry -960 \) -compose over -composite /tmp/i3lock.png + +/usr/bin/i3lock -f -i /tmp/i3lock.png + +# sleep 1 +xset dpms force off -- cgit v1.2.3