stackline icon indicating copy to clipboard operation
stackline copied to clipboard

Rewrite in a performant language e.g. Golang

Open devnoname120 opened this issue 1 year ago • 5 comments

Stackline spikes in CPU whenever I switch windows. This has a significant battery impact which would be reduced by using a compiled language such as Golang.

The dependency on Hammerspoon can be removed entirely as all the event listeners are all supported by yabai out of the box.

I may look into it in the future but it's low-priority in my TODO list.

devnoname120 avatar Jul 12 '22 08:07 devnoname120

Isn't Hammerspoon being used to actually render the icons?

prurph avatar Aug 12 '22 21:08 prurph

literally everything depends on hammerspoon. The timers, rendering the app icons/pills, clicks, being updated on certain events, logging, etc. Some of this can be removed, but mainly rendering the icons/pills and clicks require hammerspoon.

es183923 avatar Aug 12 '22 21:08 es183923

Yes it would be a complete rewrite from scratch. I'll use this project as inspiration for what it will look like but otherwise there won't be much in common.

devnoname120 avatar Aug 12 '22 22:08 devnoname120

@devnoname120 have you worked on it?

mizlan avatar Feb 29 '24 17:02 mizlan

Nope I haven't On Feb 29, 2024, 6:38 PM +0100, Michael Lan @.***>, wrote:

@devnoname120 have you worked on it? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

devnoname120 avatar Feb 29 '24 17:02 devnoname120