From 67889fd88a09fd409269bef434993fe9d536142c Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sun, 9 Oct 2016 20:29:14 +0200 Subject: add i3lock with dpms script --- dot_i3/i3lock-dpms | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 dot_i3/i3lock-dpms (limited to 'dot_i3/i3lock-dpms') diff --git a/dot_i3/i3lock-dpms b/dot_i3/i3lock-dpms new file mode 100755 index 0000000..fa97182 --- /dev/null +++ b/dot_i3/i3lock-dpms @@ -0,0 +1,9 @@ +#!/bin/sh +revert() { + xset dpms 0 0 0 +} +trap revert SIGHUP SIGINT SIGTERM +#xset +dpms dpms 5 5 5 +xset dpms force off +i3lock -n -c 111111 -I 5 +revert -- cgit v1.2.3