From f62086f76db3a3dfceee8e348d920ea0c1bba9ef Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 16 Sep 2025 21:13:31 +0200 Subject: [PATCH] Need to keep this alacritty until we have it fully working for other terminals --- bin/omarchy-cmd-screensaver | 2 +- bin/omarchy-launch-screensaver | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/omarchy-cmd-screensaver b/bin/omarchy-cmd-screensaver index 42b9a677..e336c8b0 100755 --- a/bin/omarchy-cmd-screensaver +++ b/bin/omarchy-cmd-screensaver @@ -7,7 +7,7 @@ screensaver_in_focus() { exit_screensaver() { hyprctl keyword cursor:invisible false pkill -x tte 2>/dev/null - pkill -f "$TERMINAL --class Screensaver" 2>/dev/null + pkill -f "alacritty --class Screensaver" 2>/dev/null exit 0 } diff --git a/bin/omarchy-launch-screensaver b/bin/omarchy-launch-screensaver index a5a1e72b..f81b4cde 100755 --- a/bin/omarchy-launch-screensaver +++ b/bin/omarchy-launch-screensaver @@ -6,7 +6,7 @@ if ! command -v tte &>/dev/null; then fi # Exit early if screensave is already running -pgrep -f "$TERMINAL --class Screensaver" && exit 0 +pgrep -f "alacritty --class Screensaver" && exit 0 # Allow screensaver to be turned off but also force started if [[ -f ~/.local/state/omarchy/toggles/screensaver-off ]] && [[ $1 != "force" ]]; then