]> src.twobees.de Git - dotfiles.git/blob - stow/bin/.bin/lockscreen.sh
sway stuff
[dotfiles.git] / stow / bin / .bin / lockscreen.sh
1 #!/bin/bash
2 outfile=$1
3
4 if [ -z "$outfile" ];then
5     echo output path missing >&2
6     outfile=/tmp/lock.png
7 fi
8
9 grim - | convert -filter Gaussian -resize 20% -blur 0x2.5 -resize 500% png:- "$outfile"
10 swaylock -f -c 00FF00 -i "$outfile"