Initial commit

This commit is contained in:
2023-07-25 03:26:05 +02:00
commit 40ae852ae2
11 changed files with 743 additions and 0 deletions
Executable
+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash
LOCKARGS=""
for OUTPUT in `swaymsg -t get_outputs | jq -r '.[].name'`
do
IMAGE=/tmp/$OUTPUT-lock.png
grim -o $OUTPUT $IMAGE
convert $IMAGE -blur 2x8 $IMAGE
LOCKARGS="${LOCKARGS} --image ${OUTPUT}:${IMAGE}"
IMAGES="${IMAGES} ${IMAGE}"
done
swaylock $LOCKARGS
rm $IMAGES