feat: fullscreen for ghostty/kitty screensaver (#3510)

* feat: fullscreen for ghostty/kitty screensaver

* feat: add ghostty screensaver config

* Remove the extra two bottom lines as well

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
Felix Sanchez
2025-11-22 07:44:03 -06:00
committed by GitHub
parent e3b8016e26
commit 602d60d3d9
3 changed files with 6 additions and 1 deletions

View File

@@ -23,7 +23,7 @@ while true; do
--no-eol --no-restore-cursor random_effect &
while pgrep -x tte >/dev/null; do
if read -n 1 -t 3 || ! screensaver_in_focus; then
if read -n 1 -t 1 || ! screensaver_in_focus; then
exit_screensaver
fi
done

View File

@@ -29,6 +29,7 @@ for m in $(hyprctl monitors -j | jq -r '.[] | .name'); do
*ghostty*)
hyprctl dispatch exec -- \
ghostty --class=org.omarchy.screensaver \
--config-file=~/.local/share/omarchy/default/ghostty/screensaver \
--font-size=18 \
-e omarchy-cmd-screensaver
;;
@@ -36,6 +37,7 @@ for m in $(hyprctl monitors -j | jq -r '.[] | .name'); do
hyprctl dispatch exec -- \
kitty --class=org.omarchy.screensaver \
--override font_size=18 \
--override window_padding_width=0 \
-e omarchy-cmd-screensaver
;;
*)

View File

@@ -0,0 +1,3 @@
window-padding-x = 0
window-padding-y = 0
window-padding-color = "extend-always"