summaryrefslogtreecommitdiff
path: root/lindy/dot_i3/i3lock-dpms
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-03-14 15:09:26 +0100
committerAlex Auvolat <alex@adnab.me>2021-03-14 15:09:26 +0100
commit9d6c55653eab4510fcaa4e91685bab11d0a3ccbb (patch)
treef71a1f9db3395bf4335dff13933ec98c384eec60 /lindy/dot_i3/i3lock-dpms
parent7eae9189492cc0372382cf808a8dbcb9cb722639 (diff)
downloaduser-config-9d6c55653eab4510fcaa4e91685bab11d0a3ccbb.tar.gz
user-config-9d6c55653eab4510fcaa4e91685bab11d0a3ccbb.zip
Add lindy files
Diffstat (limited to 'lindy/dot_i3/i3lock-dpms')
-rwxr-xr-xlindy/dot_i3/i3lock-dpms9
1 files changed, 9 insertions, 0 deletions
diff --git a/lindy/dot_i3/i3lock-dpms b/lindy/dot_i3/i3lock-dpms
new file mode 100755
index 0000000..fa97182
--- /dev/null
+++ b/lindy/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