Open ghost opened 6 years ago
There are a couple references to pulseaudio and other linux-specific mechanisms - brightness, keyboard layouts, window management etc. They could be replaced with MAC equivalents so I guess it could work on MAC with some modifications.
If you want to experiment then you could start by commenting-out all of the places which trigger crashes and checking whether the bar is still usable.
-- Marek Rogalski
On Thu, 16 Aug 2018 at 09:43, gedw99 notifications@github.com wrote:
tried it on my MAC, but i guess its not supported ?
go get mrogalski.eu/go/hotbar
mrogalski.eu/go/hotbar
../../../workspace/go/src/mrogalski.eu/go/hotbar/pulseaudio.go:10:32: too many arguments in call to pulseaudio.NewClient have (string) want () ../../../workspace/go/src/mrogalski.eu/go/hotbar/pulseaudio.go:15:18: paClient.Sinks undefined (type pulseaudio.Client has no field or method Sinks, but does have pulseaudio.sinks) ../../../workspace/go/src/mrogalski.eu/go/hotbar/pulseaudio.go:18:10: paClient.Subscribe undefined (type pulseaudio.Client has no field or method Subscribe) ../../../workspace/go/src/mrogalski.eu/go/hotbar/pulseaudio.go:97:20: paClient.Sinks undefined (type pulseaudio.Client has no field or method Sinks, but does have pulseaudio.sinks) ../../../workspace/go/src/mrogalski.eu/go/hotbar/pulseaudio.go:113:10: paClient.Sinks undefined (type pulseaudio.Client has no field or method Sinks, but does have pulseaudio.sinks) ../../../workspace/go/src/mrogalski.eu/go/hotbar/pulseaudio.go:117:19: paClient.Cards undefined (type pulseaudio.Client has no field or method Cards, but does have pulseaudio.cards) ../../../workspace/go/src/mrogalski.eu/go/hotbar/pulseaudio.go:123:24: undefined: pulseaudio.PortAvailableNo ../../../workspace/go/src/mrogalski.eu/go/hotbar/pulseaudio.go:137:18: paClient.Cards undefined (type pulseaudio.Client has no field or method Cards, but does have pulseaudio.cards) ../../../workspace/go/src/mrogalski.eu/go/hotbar/pulseaudio.go:138:22: undefined: pulseaudio.ProfileInfo
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mafik/hotbar/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AAS6msv2B8J8bEjXCVc3qnr1eqz_gt0qks5uRSKzgaJpZM4V_W2W .
That library is for sound generation. The bar doesn't actually emit sounds - it offers a widget to control volume. So we would rather need a library for Mac volume control.
More things will be broken on Mac (brightness, power settings, keyboard layouts, etc.). Fixing the volume control is only the first step :)
tried it on my MAC, but i guess its not supported ?