Repository navigation
Rotate a monitor from the layout map's right-click menu - #17170
Merged
Merged
Conversation
Setting omarchy_monitor_panel_settings = false in hypr/monitors.lua, like the omarchy_default_bindings switch, leaves that file alone in charge of every monitor: the saved panel settings aren't applied on load or when a monitor arrives, GDK_SCALE is left to the file, and clamshell recovery ignores them too. The panel's changes then last only until Hyprland reloads. The template, manual and agent skill say so. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…clamshell With the panel's choices switched off, clamshell sync corrected an enabled laptop panel back to monitors.lua's scale every two seconds while docked, undoing a panel change straight away instead of at the next reload as documented. It now leaves an enabled panel's scale alone then, and only brings a panel that's off back at the file's scale. Its comment stripping also only knew block comments ending on the same line, so a switch wrapped in a multi-line --[[ ]] still took effect. It now drops a block comment's lines up to its closing ]]. Co-Authored-By: Claude Opus 5.5 <[email protected]>
New omarchy-hyprland-monitor-rotate [--monitor NAME] 0|90|180|270 turns a monitor a quarter turn at a time. A turn swaps the monitor's width and height in the layout, so it goes through the layout command's resize path: the turn and its neighbours closing up apply in one eval. The rotation is saved with the monitor's other settings as a transform field before the identity, and the settings module, clamshell and persist read lines saved before it as well. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Right-clicking a display in the monitor panel's layout map opens a menu of its quarter turns, Normal, 90°, 180° and 270°, with the current one checked, styled like the dock's menu. Choosing one runs omarchy-hyprland-monitor-rotate for that display. The menu sits over the panel's scrolling content so its edge doesn't clip it; a click elsewhere or Esc closes it, Esc before the panel. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The rotate menu copied the dock's menu row. Both now use shell/Ui/PopupMenuRow, which emits triggered() and leaves closing the menu to its owner. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The rotate menu opens from the layout map, which was hidden with only one display on, leaving a single monitor no way to be rotated from the panel. The map now shows for one display too; dragging it and h/l have nowhere to move it, so they do nothing. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
[Medium impact] The PR appears safe to merge based on the reviewed changes. SummaryAdds monitor rotation through the layout map’s right-click menu and
No actionable new issues were found in the changes since the previous review. No previous review threads were supplied.
|
# Conflicts: # test/shell.d/hyprland-monitor-settings-test.sh
omarchybot
added a commit
to ekollof/omarchy
that referenced
this pull request
Nov 1, 2026
The display panel was rewritten on quattro (omacom#17159, omacom#17170, omacom#17175) with a taller cap and its full-card ScrollView kept, so it keeps scrollOverflow: false beside the new contentHeight. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Right-click a display in the monitor panel's layout map to rotate it.
The menu
shell/Ui/PopupMenuRowthat both use.Rotating
omarchy-hyprland-monitor-rotate [--monitor NAME] [0|90|180|270]; without an angle it prints the current one. Mirrored transforms (4-7) are left tomonitors.lua.Saving
persiststill read lines saved before it, and adding a rotation keeps such a line's mode, position and scale.Tests cover rotating beside another display and alone, refusing other angles, adding a rotation to an older saved line, and the settings module applying a saved rotation. Tried live on a laptop beside a 6K display.
🤖 Generated with Claude Code