From 6b8917450f72a9df6cf6bb6f7819df601a9c7d0c Mon Sep 17 00:00:00 2001 From: Manuel Date: Wed, 6 Aug 2025 22:53:15 +0200 Subject: [PATCH] Make Screensaver Background Color Black (#526) * add sceensaver alacritty config file and changed screensaver cmd * Move the screensaver config into defaults Since its not meant to be user edited --------- Co-authored-by: Manu Co-authored-by: David Heinemeier Hansson --- bin/omarchy-launch-screensaver | 5 +---- default/alacritty/screensaver.toml | 11 +++++++++++ 2 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 default/alacritty/screensaver.toml diff --git a/bin/omarchy-launch-screensaver b/bin/omarchy-launch-screensaver index 736c7026..b557f138 100755 --- a/bin/omarchy-launch-screensaver +++ b/bin/omarchy-launch-screensaver @@ -9,10 +9,7 @@ for m in $(hyprctl monitors -j | jq -r '.[] | .name'); do hyprctl dispatch focusmonitor $m hyprctl dispatch exec -- \ alacritty --class Screensaver \ - -o 'colors.primary.background="#000000"' \ - -o 'colors.cursor.cursor="#000000"' \ - -o 'font.size=18' \ - -o 'window.opacity=1' \ + --config-file ~/.local/share/omarchy/default/alacritty/screensaver.toml \ -e ~/.local/share/omarchy/bin/omarchy-cmd-screensaver done diff --git a/default/alacritty/screensaver.toml b/default/alacritty/screensaver.toml new file mode 100644 index 00000000..7db389ed --- /dev/null +++ b/default/alacritty/screensaver.toml @@ -0,0 +1,11 @@ +[colors.primary] +background = "0x000000" + +[colors.cursor] +cursor = "0x000000" + +[font] +size = 18.0 + +[window] +opacity = 1.0