summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGalen Guyer <galen@galenguyer.com>2022-09-06 16:11:34 -0400
committerGalen Guyer <galen@galenguyer.com>2022-09-06 16:11:34 -0400
commit65274b84357c4a2da6ac10659fc31117c5e403ad (patch)
tree21c93281980af73fd2bb4f0a1a357d87fd373c59
parent359c9a6597934892e6020203d86471cf15dcc4ab (diff)
Add overlay to lock screen
-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