Start screensaver automatically (#453)

* No need to kill any more since any key will quit

* Command to refresh hypridle

* Start screensaver automatically after a minute

* Add migration
This commit is contained in:
David Heinemeier Hansson
2025-08-02 14:14:03 +02:00
committed by GitHub
parent 4db468a450
commit 6ecc09abdb
4 changed files with 17 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash
pkill -f "alacritty --class Screensaver" ||
pgrep -f "alacritty --class Screensaver" ||
alacritty --class Screensaver --title Screensaver -o 'colors.primary.background="#000000"' \
-o 'colors.cursor.cursor="#000000"' -e ~/.local/share/omarchy/bin/omarchy-cmd-screensaver

6
bin/omarchy-refresh-hypridle Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
omarchy-refresh-config hypr/hypridle.conf
pkill -x hypridle
uwsm app -- hypridle >/dev/null 2>&1 &