This commit is contained in:
Tibo De Peuter 2022-04-09 21:50:03 +02:00
parent f6f970e578
commit 7ac209bf17
3 changed files with 60 additions and 16 deletions

View file

@ -1,6 +1,8 @@
img=/tmp/i3lock.png
icon=~/.config/i3/scripts/lock-icon-large.png
scrot -z -o $img
convert $img -scale 20% -scale 500% -gamma 0.8 $img
convert \( $img -scale 20% -scale 500% -brightness-contrast -30x-30 \) $icon -gravity Center -geometry +0-125 -composite $img
i3lock -i $img #-u
i3lock -i $img -f #-no-unlock-indicator