summaryrefslogtreecommitdiff
path: root/ext/lock.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ext/lock.sh')
-rwxr-xr-xext/lock.sh6
1 files changed, 3 insertions, 3 deletions
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