summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/lock-overlay.pngbin0 -> 22742 bytes
-rwxr-xr-xext/lock.sh6
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/lock-overlay.png b/ext/lock-overlay.png
new file mode 100644
index 0000000..50a73cf
--- /dev/null
+++ b/ext/lock-overlay.png
Binary files differ
diff --git a/ext/lock.sh b/ext/lock.sh
index 2ef947f..d3ca4c4 100755
--- a/ext/lock.sh
+++ b/ext/lock.sh
@@ -3,14 +3,14 @@ set -eu
scrot --quality=10 -o /tmp/.lockscreen.png
convert /tmp/.lockscreen.png \
- -scale 5% \
-define png:compression-filter=5 \
-define png:compression-level=1 \
-brightness-contrast -5 \
- -blur 0x0.4 \
- -scale 2000% \
+ -blur 0x24 \
/tmp/.lockscreen.png
+convert -composite -gravity center /tmp/.lockscreen.png "$HOME/.dots/ext/lock-overlay.png" /tmp/.lockscreen.png
+
# Turn on DND
#old_dnd="$(xfconf-query -c xfce4-notifyd -p /do-not-disturb)"
#xfconf-query -c xfce4-notifyd -p /do-not-disturb -s true