Skip to content

Make Screen Edge Gap setting editable in UI - #1838

Closed
rutgerkraaijer wants to merge 1 commit into
rxhanson:mainfrom
rutgerkraaijer:screen-edge-gap-setting
Closed

Make Screen Edge Gap setting editable in UI#1838
rutgerkraaijer wants to merge 1 commit into
rxhanson:mainfrom
rutgerkraaijer:screen-edge-gap-setting

Conversation

@rutgerkraaijer

Copy link
Copy Markdown

I use the currently hidden screenEdgeGapRight and screenEdgeGapsOnMainScreenOnly settings to keep the notification area clear at all times. Since hidden settings aren't particularly user-friendly, this PR aims to make this feature more easily accessible and manageable.

What this PR changes:

  • Added a screenEdgeGapRightEnabled setting, defaulting to false.
    • To have the setting hold a default value of 370 instead of 0 when not in use. Default 370 because that's what neatly keeps space for the notification area on the right.
  • Made screenEdgeGapsOnMainScreenOnly setting default to true.
    • Since this setting isn't exposed currently, the main use case for the setting is the notification area, which only sticks around on the main display.
  • Added a section to the "extras" settings to explain the feature, toggle screenEdgeGapRightEnabled, screenEdgeGapsOnMainScreenOnly, and set the value of screenEdgeGapRight.
  • Added a scroll bar to the popout "extras" settings view, since the menu is now quite tall and won't fit on all displays.
    • Probably already a problem on certain display configurations, but with the extra section this is definitely needed.

I've intentionally limited this change to the right edge gap, since that has a clear use case. There is an argument that the other sides could be exposed in the same way as well of course.

@rxhanson

rxhanson commented Sep 6, 2026

Copy link
Copy Markdown
Owner

Thanks for contributing!

  • You can remove the informational text (people that want screen edge gaps already know why they want it)
  • You can remove the first checkbox, since values > 0 mean it's being used.
  • Change the input field label to Right Edge Gap (px)

That should make things more clear and reduce space.

@rxhanson

rxhanson commented Sep 7, 2026

Copy link
Copy Markdown
Owner

I was thinking about this a little more, and I think I'll go ahead and roll in the screen edge gaps settings for all edges, and put it directly on the General tab. I'll keep your "only on the main screen" setting, though. Apologies on declining this, but I appreciate you posting it and exposing a desired path!

@rxhanson rxhanson closed this Sep 7, 2026
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.

2 participants