08-10-2017, 11:17 PM
It's part of my work in progress AwesomeWM pinebook configuration. As part of the battery monitoring & power management:
https://github.com/daid/awesome-pinebook...ry.lua#L51
I'm not recommending this over the default Mate setup yet. It requires Awesome4 (Default Ubuntu install can only deliver Awesome3) and it lacks functionality for WiFi configuration. If you are not afraid of a terminal however, and have no problem configuring your WiFi with "nmtui", and want to run a Tiling window manager. Then you can run my config. But expect problems and bugs :-)
Could also be adapted to run stand alone. You do need to run the glib main loop with "gli.GLib.MainLoop():run()" at the end of a lua script to make the dbus updating running. And just have the relevant functions in there.
Pretty sure you can also hack something together with bash and dbus-monitor.
https://github.com/daid/awesome-pinebook...ry.lua#L51
I'm not recommending this over the default Mate setup yet. It requires Awesome4 (Default Ubuntu install can only deliver Awesome3) and it lacks functionality for WiFi configuration. If you are not afraid of a terminal however, and have no problem configuring your WiFi with "nmtui", and want to run a Tiling window manager. Then you can run my config. But expect problems and bugs :-)
Could also be adapted to run stand alone. You do need to run the glib main loop with "gli.GLib.MainLoop():run()" at the end of a lua script to make the dbus updating running. And just have the relevant functions in there.
Pretty sure you can also hack something together with bash and dbus-monitor.