Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance of AppleScript Ubersicht refresh #2

Closed
camspiers opened this issue Dec 30, 2019 · 0 comments
Closed

Performance of AppleScript Ubersicht refresh #2

camspiers opened this issue Dec 30, 2019 · 0 comments

Comments

@camspiers
Copy link

I found that the refresh of widgets via AppleScript was too slow. It turns out it was quite an effort to do it another way, but I came up with a solution that you might be interested in:

https://github.com/camspiers/dotfiles/tree/master/files/.config/ubersicht

New program to get active space changes from stdout:

https://github.com/camspiers/dotfiles/blob/master/files/.config/ubersicht/activespace.swift

Build step:

https://github.com/camspiers/dotfiles/blob/master/Makefile#L18

SSE server for delivering SSE's to Ubersicjt widgets:

https://github.com/camspiers/dotfiles/blob/master/files/.config/ubersicht/lib/activeSpaceServer.js

Subscription to it from a widget:

https://github.com/camspiers/dotfiles/blob/master/files/.config/ubersicht/left.jsx#L43

@camspiers camspiers closed this as not planned Won't fix, can't repro, duplicate, stale Jun 5, 2024
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

No branches or pull requests

1 participant