Compilation not starting
I'm trying to build the app using the command shwon in the readme go build -pgo default.pgo -tags wayland -ldflags="-s -w" -o ./.bin/app ./cmd/main.go but it doesn't do anything, just get stuck like this
Hi, try to take a look at CPU load by cores — it probably is compiling, it is just that the huge part (GTK) is actually written in C and compiling C sucks. It takes ~20 min with my 8845HS and I hate that :) But that's only for the first time.
Also note that you need to compile (install) the gsettings schema, the app won't launch otherwise:
sudo cp misc/io.github.efogdev.mpris-timer.gschema.xml /usr/share/glib-2.0/schemas/ && sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
I'll probably add that to the README later.
yep so compiled it, executed that command and it seems to be working thanks, the only weird thing is that it looks laggy in the plasma player but it there with the flatpak too so yea, thanks :3
btw since ur here, can I make this an aur package ?
Sure — see #3 — I've added "help is welcome" label Regarding the "laggy" player — it is only 6 fps for Plasma (30 in GNOME) because it flickers otherwise, and its hardcoded: https://github.com/efogdev/mpris-timer/blob/main/internal%2Futil%2Fconst.go#L18 I don't think it is possible to make it smooth without patching KDE
O oki, Imma make an aur packages rn , and imma look at the kde thingy, thanks :3