From 55692e08937a9b1e1c4cb921a92b617b402b1cc3 Mon Sep 17 00:00:00 2001 From: Miras Mustimov Date: Mon, 24 Nov 2025 15:00:25 +0500 Subject: [PATCH] Exclude long new screensaver effect (#3553) Co-authored-by: David Heinemeier Hansson --- bin/omarchy-cmd-screensaver | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/omarchy-cmd-screensaver b/bin/omarchy-cmd-screensaver index 532963c3..156b1180 100755 --- a/bin/omarchy-cmd-screensaver +++ b/bin/omarchy-cmd-screensaver @@ -18,9 +18,11 @@ printf '\033]11;rgb:00/00/00\007' # Set background color to black hyprctl keyword cursor:invisible true &>/dev/null while true; do + effect=$(tte 2>&1 | grep -oP '{\K[^}]+' | tr ',' ' ' | tr ' ' '\n' | sed -n '/^beams$/,$p' | grep -Ev '^(dev_worm)$' | sort -u | shuf -n1) + tte -i ~/.config/omarchy/branding/screensaver.txt \ --frame-rate 120 --canvas-width 0 --canvas-height 0 --reuse-canvas --anchor-canvas c --anchor-text c\ - --no-eol --no-restore-cursor random_effect & + --no-eol --no-restore-cursor $effect & while pgrep -x tte >/dev/null; do if read -n 1 -t 1 || ! screensaver_in_focus; then