From 87469f5f439c5ed10ec4e5591e2c7766d95a976a Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 13 Sep 2025 08:04:18 +0200 Subject: [PATCH] Hide cursor during screensaver Closes #1644 Co-authored-by: @alexperreault --- bin/omarchy-cmd-screensaver | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/omarchy-cmd-screensaver b/bin/omarchy-cmd-screensaver index 46997e5..a612462 100755 --- a/bin/omarchy-cmd-screensaver +++ b/bin/omarchy-cmd-screensaver @@ -1,6 +1,7 @@ #!/bin/bash function exit_screensaver { + hyprctl keyword cursor:invisible false pkill -x tte 2>/dev/null pkill -f "alacritty --class Screensaver" 2>/dev/null exit 0 @@ -8,6 +9,8 @@ function exit_screensaver { trap exit_screensaver SIGINT SIGTERM SIGHUP SIGQUIT +hyprctl keyword cursor:invisible true + while true; do effect=$(tte 2>&1 | grep -oP '{\K[^}]+' | tr ',' ' ' | tr ' ' '\n' | sed -n '/^beams$/,$p' | sort -u | shuf -n1) tte -i ~/.config/omarchy/branding/screensaver.txt \