summaryrefslogtreecommitdiff
path: root/i3lock
diff options
context:
space:
mode:
authorMax Christian Pohle2018-10-04 08:42:00 +0200
committerMax Christian Pohle2018-10-04 08:42:00 +0200
commit8180cf38e6198fce5cd30d84f633bc154191829f (patch)
tree2e4ca847a15bac5893e5b63fa335e2fd8becd671 /i3lock
parent40c0b3edf71713178c841860b81638f1c7ef8719 (diff)
downloadi3-8180cf38e6198fce5cd30d84f633bc154191829f.tar.bz2
i3-8180cf38e6198fce5cd30d84f633bc154191829f.zip
Refactored stuff
Diffstat (limited to 'i3lock')
-rwxr-xr-xi3lock7
1 files changed, 7 insertions, 0 deletions
diff --git a/i3lock b/i3lock
new file mode 100755
index 0000000..c0058ec
--- /dev/null
+++ b/i3lock
@@ -0,0 +1,7 @@
1xwd -root | convert xwd:- -filter Gaussian -thumbnail 20% -sample 500% \
2 \( -background none -density 250x250 /usr/share/icons/ContrastHigh/scalable/actions/system-lock-screen.svg -gravity center -geometry -960 \) -compose over -composite /tmp/i3lock.png
3
4/usr/bin/i3lock -f -i /tmp/i3lock.png
5
6# sleep 1
7xset dpms force off
..