diff --git a/bin/sway_lock b/bin/sway_lock index 24f1f9c..280eaf5 100755 --- a/bin/sway_lock +++ b/bin/sway_lock @@ -3,9 +3,9 @@ source $HOME/.config/sway/bin/sway_helpers LOCK_IMAGE=$HOME/.config/sway/bin/lock.png MEDIA_APP=playerctl SCROT_APP=grim -SCROT_APP_ARGS=" -t jpeg" +SCROT_APP_ARGS=" -t png -l 0" SCROT_FILE_BASE=$HOME/.lockscreen -SCROT_FILE_EXT=jpg +SCROT_FILE_EXT=png LOCK_APP=swaylock LOCK_ARGS=" -f -F -e -s fill -c 000000 --indicator-radius 100 --indicator-thickness 20" INHIBIT_FILE=$HOME/.inhibit_lock @@ -49,7 +49,7 @@ function _screenshot() { $SCROT_APP $SCROT_APP_ARGS -o $output $SCROT_FILE # convert -blur 0x5 $SCROT_FILE $SCROT_FILE # convert -motion-blur 15x15 $SCROT_FILE $SCROT_FILE - convert -scale 20% -blur 0x2.5 -resize 500% $SCROT_FILE $SCROT_FILE + convert -scale 20% -blur 2x2 -resize 500% $SCROT_FILE $SCROT_FILE convert -composite -gravity center $SCROT_FILE $LOCK_IMAGE $SCROT_FILE done }