diff --git a/bin/sway_lock b/bin/sway_lock index 4f9cc39..537a83f 100755 --- a/bin/sway_lock +++ b/bin/sway_lock @@ -7,7 +7,7 @@ MEDIA_APP=playerctl SCROT_APP=grim SCROT_ARGS=" -o $OUTPUT -t png" LOCK_APP=swaylock -LOCK_ARGS=" -f -F -e -c 000000 --indicator-radius 100 --indicator-thickness 20 -i $IMAGE" +LOCK_ARGS=" -f -F -e -s fill -c 000000 --indicator-radius 100 --indicator-thickness 20 -i $IMAGE" INHIBIT_FILE=$HOME/.inhibit_lock function _clean() { @@ -16,7 +16,7 @@ function _clean() { function _lock() { _check_inhibit $INHIBIT_FILE - $MEDIA_APP stop + $MEDIA_APP pause _check_running $LOCK_APP $LOCK_APP $LOCK_ARGS }