diff options
author | Botond Hende <nettingman@gmail.com> | 2024-08-24 18:58:25 +0200 |
---|---|---|
committer | Botond Hende <nettingman@gmail.com> | 2024-08-24 19:01:16 +0200 |
commit | e92562150306923a18dcee5bf170c730c021e1b1 (patch) | |
tree | d7f191278461125fa51f85df91d9066bef9e0030 /home/.selfconfigs | |
parent | 17abcde7379b5eed05d984b6e5af02ef6b205598 (diff) |
lock with overlay for swaylock
Diffstat (limited to 'home/.selfconfigs')
-rwxr-xr-x | home/.selfconfigs/sway/lock_with_overlay | 6 |
1 files changed, 6 insertions, 0 deletions
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 |