You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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.
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: ***@***.***>
I've written an alternative in Swift. You can find it here: https://github.com/liam-mackie/stackline-swift 😄
Happy to get feedback and contributions, I've built it to be pretty specific to my own requirements, and it's very hacky. That being said, it's handled by automatically adding events to yabai rather than polling, and in my testing, the energy impact is pretty small.
Activity
prurph commentedon Aug 12, 2022
Isn't Hammerspoon being used to actually render the icons?
es183923 commentedon Aug 12, 2022
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.
devnoname120 commentedon Aug 12, 2022
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.
mizlan commentedon Feb 29, 2024
@devnoname120 have you worked on it?
devnoname120 commentedon Feb 29, 2024
liam-mackie commentedon Jul 29, 2025
I've written an alternative in Swift. You can find it here: https://github.com/liam-mackie/stackline-swift 😄
Happy to get feedback and contributions, I've built it to be pretty specific to my own requirements, and it's very hacky. That being said, it's handled by automatically adding events to yabai rather than polling, and in my testing, the energy impact is pretty small.
devnoname120 commentedon Aug 14, 2025
Liam’s rewrite is working really well and fast, I recommend everyone to try!