Skip to content

feat: Added wallpaper rotation and mirroring#279

Open
lucaschristiansson wants to merge 7 commits intohyprwm:mainfrom
lucaschristiansson:transform
Open

feat: Added wallpaper rotation and mirroring#279
lucaschristiansson wants to merge 7 commits intohyprwm:mainfrom
lucaschristiansson:transform

Conversation

@lucaschristiansson
Copy link
Copy Markdown

This PR refactors the entire wallpaper rotation implementation from #276

Following advice from @vaxerski, the rotation now aligns with the monitor rotation in hyprland.

I also copied and used the previous monitor rotation documentation from hyprland for this implementation.

This refactor is compatable with all existing configurations and no changes are required for current setups.

@lucaschristiansson lucaschristiansson changed the title Refactor: complete overhaul of wallpaper rotation for clarity and performance refactor: complete overhaul of wallpaper rotation for clarity and performance Sep 24, 2025
@lucaschristiansson lucaschristiansson changed the title refactor: complete overhaul of wallpaper rotation for clarity and performance feat: Added wallpaper rotation and mirroring Sep 26, 2025
Comment thread src/Hyprpaper.cpp Outdated
Comment thread src/config/ConfigManager.cpp Outdated
Comment thread src/config/ConfigManager.cpp Outdated
const std::string COMMAND = C;
const std::string VALUE = V;
Hyprlang::CParseResult result;
Hyprutils::String::CVarList args(VALUE, 3, ',', true);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a using namepsace Hyprutils::String at the top to avoid this

also this can be a CConstVarList because you arent editing anything

@Katana-Steel
Copy link
Copy Markdown

has this been obsoleted by #294, #336 and #352 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants