From d2ed4ab1f3b8f1d5f1565efd5bf7059f9019a20e Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Tue, 27 Jul 2021 17:22:09 +0200 Subject: [PATCH] scripts/lock: move to nixos --- scripts/lock | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100755 scripts/lock diff --git a/scripts/lock b/scripts/lock deleted file mode 100755 index f485b0d..0000000 --- a/scripts/lock +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -icon=$HOME/img/misc/lock.png -tmpbg=/tmp/screenshot.png - -test $# -eq 1 && icon=$1 - -scrot $tmpbg -gm convert $tmpbg -scale 10% -scale 1000% $tmpbg -gm composite -filter point -resize 48x48 -gravity center "$icon" $tmpbg $tmpbg -i3lock -u -i $tmpbg 2>/dev/null -rm $tmpbg