From 7343a15f123c78d7c29ff7a189798de689869026 Mon Sep 17 00:00:00 2001 From: Marcelo Lira Date: Fri, 7 Mar 2025 00:41:38 -0300 Subject: Initial commit. --- desktop-wayland/.local/bin/screenlock-wayland | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 desktop-wayland/.local/bin/screenlock-wayland (limited to 'desktop-wayland/.local') 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 -- cgit v1.2.3