Screensaver slide animation instead of popin#4815
Screensaver slide animation instead of popin#4815ieocin wants to merge 1 commit intobasecamp:devfrom
Conversation
There was a problem hiding this comment.
Pull request overview
Adjusts Hyprland window rules so the Omarchy screensaver uses a slide animation rather than the default popin behavior when it appears/disappears.
Changes:
- Adds a Hyprland
windowruleto applyanimation slideto theorg.omarchy.screensaverwindow class.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| windowrule = opacity 0.97 0.9, match:tag default-opacity | ||
|
|
||
| # Sliding animation for the screensaver instead of popin | ||
| windowrule = animation slide, match:class org.omarchy.screensaver |
There was a problem hiding this comment.
match:class is treated as a regex in this config (e.g., other rules use .*, ^$, etc.). As written, org.omarchy.screensaver will treat . as “any character” and can match unintended classes. Escape the dots and (ideally) anchor it to an exact match, consistent with other exact-match rules.
| windowrule = animation slide, match:class org.omarchy.screensaver | |
| windowrule = animation slide, match:class ^org\.omarchy\.screensaver$ |
|
|
||
| # Sliding animation for the screensaver instead of popin | ||
| windowrule = animation slide, match:class org.omarchy.screensaver |
There was a problem hiding this comment.
This is an app-specific rule, but it’s being added to windows.conf even though the file already delegates app-specific tweaks via source = .../apps.conf and org.omarchy.screensaver rules currently live in default/hypr/apps/system.conf. Consider moving this rule alongside the other screensaver rules so related behavior stays grouped and easier to maintain.
| # Sliding animation for the screensaver instead of popin | |
| windowrule = animation slide, match:class org.omarchy.screensaver |
When
omarchy-cmd-screensaverfinishes or is interrupted, hyprlands slide animation looks more polished - in my opinion - than the popin animation.