Add vertical bar support for left/right screen edges#7
Open
krank56 wants to merge 3 commits intoJean-Tinland:mainfrom
Open
Add vertical bar support for left/right screen edges#7krank56 wants to merge 3 commits intoJean-Tinland:mainfrom
krank56 wants to merge 3 commits intoJean-Tinland:mainfrom
Conversation
Add support for placing bars on the left and right edges of displays, complementing the existing top/bottom positions. Vertical bars use a configurable width (40-300px) and adapt widget layout to flow vertically. - Add .left/.right cases to BarPosition with isVertical property - Add leftBar/rightBar to DisplayConfiguration - Add barWidth setting for vertical bar width - Update BarWindow frame calculation for vertical positioning - Add WidgetOrientation environment for orientation-aware widgets - Update BarView with VStack layout for vertical bars - Add vertical bar toggles and preview in Layout settings - Add barWidth slider in Appearance settings
- Add AdaptiveStack helper for orientation-aware layouts - Update BaseWidgetView with vertical mode constraints and clipping - Make data widgets use compact text in vertical mode: - DateWidget: "Thu 5" format - TimeWidget: "HH:mm" format - WifiWidget: icon only - WeatherWidget: hide location - KeyboardWidget: 3-char abbreviation - Update Yabai widgets for vertical layout: - SpacesWidget: VStack for spaces - SpaceView: VStack with label above icons - ProcessWidget: icons only, no text - OpenedAppsView: VStack, max 3 icons - All widgets now fit within narrow vertical bars
- Add vertical drawing mode to GraphView (bottom-to-top) - Update CPU, GPU, NetStats, and DiskActivity widgets with vertical layouts - CPU widget shows icon and percentage only in vertical mode - Other graph widgets show compact stats above vertical graphs
3e3aefe to
b84de6f
Compare
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.
Summary
Changes
left/rightcases toBarPositionenum withisVerticalpropertybarWidthsettingAdaptiveStackhelper andWidgetOrientationenvironment valueTest plan