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 \