From e92562150306923a18dcee5bf170c730c021e1b1 Mon Sep 17 00:00:00 2001 From: Botond Hende Date: Sat, 24 Aug 2024 18:58:25 +0200 Subject: lock with overlay for swaylock --- home/.selfconfigs/sway/lock_with_overlay | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 home/.selfconfigs/sway/lock_with_overlay (limited to 'home/.selfconfigs') diff --git a/home/.selfconfigs/sway/lock_with_overlay b/home/.selfconfigs/sway/lock_with_overlay new file mode 100755 index 0000000..373e2cc --- /dev/null +++ b/home/.selfconfigs/sway/lock_with_overlay @@ -0,0 +1,6 @@ +#!/usr/bin/bash -eu + +grim /tmp/overlayed_screenshot.png +magick /tmp/overlayed_screenshot.png ~/.selfconfigs/sway/lock_overlay.png -composite /tmp/overlayed_screenshot.png + +exec swaylock --image /tmp/overlayed_screenshot.png -- cgit v1.2.3-70-g09d2