Merge branch 'dev' into dev

This commit is contained in:
David Heinemeier Hansson
2025-08-03 09:47:54 +02:00
committed by GitHub
9 changed files with 19 additions and 18 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
# exit early if screensave is already running
# Exit early if screensave is already running
pgrep -f "alacritty --class Screensaver" && exit 0
focused=$(hyprctl monitors -j | jq -r '.[] | select(.focused == true).name')
@ -11,7 +11,8 @@ for m in $(hyprctl monitors -j | jq -r '.[] | .name'); do
alacritty --class Screensaver --title Screensaver \
-o 'colors.primary.background="#000000"' \
-o 'colors.cursor.cursor="#000000"' \
-o 'font.size=18' \
-e ~/.local/share/omarchy/bin/omarchy-cmd-screensaver
done
hyprctl dispatch focusmonitor $focused
hyprctl dispatch focusmonitor $focused