From d53a10c96b92fb6f759a78272950513c7f92f3ef Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Sun, 10 Mar 2019 13:23:24 +0100 Subject: Created scripts for i3lock, ripme and taking a screenshot. --- i3lock.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 i3lock.sh (limited to 'i3lock.sh') diff --git a/i3lock.sh b/i3lock.sh new file mode 100755 index 0000000..029b2f1 --- /dev/null +++ b/i3lock.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +# Generates an i3lock bg based on a screenshot. + +imgLock="$HOME/images/padlock.png" +imgFinal="/tmp/lockFinal$(date +"%H%M%S").png" +maim /tmp/i3lockss.png +convert /tmp/i3lockss.png -paint 1 -swirl -20 "$imgLock" -gravity center -composite "$imgFinal" +i3lock -i "$imgFinal" -f -- cgit v1.2.1