diff --git a/bin/omarchy-dazzle b/bin/omarchy-cmd-screensaver similarity index 100% rename from bin/omarchy-dazzle rename to bin/omarchy-cmd-screensaver diff --git a/bin/omarchy-launch-screensaver b/bin/omarchy-launch-screensaver new file mode 100755 index 0000000..f81c44e --- /dev/null +++ b/bin/omarchy-launch-screensaver @@ -0,0 +1,5 @@ +#!/bin/bash + +pkill -f "alacritty --class Screensaver" || + alacritty --class Screensaver --title Screensaver -o 'colors.primary.background="#000000"' \ + -e ~/.local/share/omarchy/bin/omarchy-cmd-screensaver diff --git a/default/hypr/bindings/utilities.conf b/default/hypr/bindings/utilities.conf index cffd84d..fe449cc 100644 --- a/default/hypr/bindings/utilities.conf +++ b/default/hypr/bindings/utilities.conf @@ -32,5 +32,8 @@ bind = CTRL, PRINT, exec, ~/.local/share/omarchy/bin/omarchy-cmd-screenshot outp bind = ALT, PRINT, exec, ~/.local/share/omarchy/bin/omarchy-cmd-screenrecord bind = CTRL ALT, PRINT, exec, ~/.local/share/omarchy/bin/omarchy-cmd-screenrecord output +# Screensaver +bind = SUPER ALT, SPACE, exec, ~/.local/share/omarchy/bin/omarchy-launch-screensaver + # Color picker bind = SUPER, PRINT, exec, hyprpicker -a diff --git a/default/hypr/windows.conf b/default/hypr/windows.conf index 4945864..3c45bcd 100644 --- a/default/hypr/windows.conf +++ b/default/hypr/windows.conf @@ -20,6 +20,9 @@ windowrule = float, class:steam windowrule = center, class:steam windowrule = fullscreen, class:^(com.libretro.RetroArch)$ +# Fullscreen screensaver +windowrule = fullscreen, class:Screensaver + # Just dash of opacity windowrule = opacity 0.97 0.9, class:.* windowrule = opacity 1 0.97, class:^(Chromium|chromium|google-chrome|google-chrome-unstable)$