diff options
| author | Marcelo Lira <mlira@acumera.com> | 2025-03-07 00:41:38 -0300 |
|---|---|---|
| committer | Marcelo Lira <mlira@acumera.com> | 2025-03-19 20:35:19 -0300 |
| commit | 7343a15f123c78d7c29ff7a189798de689869026 (patch) | |
| tree | 462f4fbe3f17ee36c3adad2bc57531e2f8f371a7 /desktop-wayland/.local | |
Diffstat (limited to 'desktop-wayland/.local')
| -rwxr-xr-x | desktop-wayland/.local/bin/screenlock-wayland | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/desktop-wayland/.local/bin/screenlock-wayland b/desktop-wayland/.local/bin/screenlock-wayland new file mode 100755 index 0000000..f722e0f --- /dev/null +++ b/desktop-wayland/.local/bin/screenlock-wayland @@ -0,0 +1,19 @@ +#!/bin/env bash + +BACKGROUND_DIR=/usr/local/share/backgrounds +IMAGES=( + bag-end.jpg + book-of-kells.jpg + gandalf-1.jpg + in-hoc-signo-vinces-fire.png + mount-st-michel.jpg + odysseus-and-the-sirens-by-waterhouse.jpg + saint-michael.png +) +IMAGE=$(printf "%s\n" "${IMAGES[@]}" | shuf -n 1) + +swaylock --indicator-radius 200 \ + --indicator-thickness 30 \ + --show-failed-attempts \ + --daemonize \ + --image $BACKGROUND_DIR/$IMAGE |
