Prepare for tte's imminent return!

This commit is contained in:
David Heinemeier Hansson
2025-08-24 22:24:42 +02:00
parent f14810e80d
commit 599b58f9a1
2 changed files with 17 additions and 14 deletions

View File

@@ -1,5 +1,10 @@
#!/bin/bash
# Exit early if we don't have the tte show
if ! command -v tte &>/dev/null; then
exit 0
fi
# Exit early if screensave is already running
pgrep -f "alacritty --class Screensaver" && exit 0