Skip to content

Add configurable stick positions (left/right/top) with multi-monitor support, display picker, and adaptive edge-hover detection.#1

Open
gaunh0 wants to merge 6 commits into
Deepender25:mainfrom
gaunh0:main
Open

Add configurable stick positions (left/right/top) with multi-monitor support, display picker, and adaptive edge-hover detection.#1
gaunh0 wants to merge 6 commits into
Deepender25:mainfrom
gaunh0:main

Conversation

@gaunh0

@gaunh0 gaunh0 commented Jul 16, 2026

Copy link
Copy Markdown
  • StickPosition ('left' | 'right' | 'top') in settings with tray submenu and UI toggle
  • Display picker — choose which monitor the panel sticks to (Settings UI + tray menu); hover only activates on the configured display
  • computeStickBounds() — pure geometry helper for multi-display positioning (display fallback: saved → nearest → primary, negative coordinate handling, bounds clamping)
  • Blade layout mirrors per position — right: mirrored anchor, border-radius, clip-path, flares, slide-in; top: horizontally centered with downward growth, bottom-rounded corners, no flares
  • Edge-hover adapts per position — open/close thresholds, trigger zone, and cursor-poll streaming condition change per stick position and display
  • Detector bounds adapt per position (vertical strip for sides, horizontal strip for top)
  • 7 geometry tests with vitest covering: left/right/top placement, negative display coords, nearest-display fallback, window clamping

@Deepender25

Copy link
Copy Markdown
Owner

hey,
Thanks for you contribution i am currently a little busy with some other things and as soon as i am i will check all the amazing changes you made.

@gaunh0

gaunh0 commented Jul 17, 2026

Copy link
Copy Markdown
Author

Great application. I actually had it on my to-do list and was planning to tackle it myself, but you beat me to it. I just extended it to fit my workflow by adding multi-monitor support and adaptive layout/hover for all edge positions (left/right/top)

@Deepender25

Copy link
Copy Markdown
Owner

hey, i looked into the change and they are really useful and great addition to the app and honestly i would not have come up with these features in the current stages of the app as i do not use multiple monitor system.
and i have implemented these features with some changes and also improved the applications memory usage upto 55% and will be releasing that soon.
thanks again for the contribution
:)

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