This project is a rewrite of gnome-nvidia-extension in Rust - intended as a practise Rust project.
Use the following to compile the project:
cargo clean; cargo run
Original version, written in GTK-JS
There are other ways of doing this - libappindicator seems broken..
The post above has possible alternatives to libappindicator in the comments