diff options
Diffstat (limited to 'desktop-wayland/.local/bin')
| -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 |
