Commit Graph

23 Commits

Author SHA1 Message Date
Stefano Mazzucco 6aa1e4a0e7 Add rockspeck with support for connman_dbus < 0.6 2019-11-10 15:47:01 +00:00
Stefano Mazzucco 054a240dda Add info about installing with NixOS to README 2019-08-21 20:48:20 +01:00
Stefano Mazzucco 4ef3dccf6f Add rockspec for version 0.3.0 2019-05-08 17:10:11 +01:00
Stefano Mazzucco 1d43381a1d Use lgi to get icons directly from GTK
Rather than setting a path to the icons, use lgi to get the current GTK theme
and then look up the icons. Then set the image as a cairo surface by using the
GTK api directly.

With this change, one can modify their GTK icon theme (e.g. with lxappearance),
restart AwesomeWM and have the widget's icon automatically updated.
2019-05-08 17:08:31 +01:00
Stefano Mazzucco a2c4d1bfb8 Bump max connman_dbus version to 0.5
Bump dependency constraints on connman_dbus to include version that uses the
new dbus_proxy API for connect signal.
2017-11-11 20:34:17 +00:00
Stefano Mazzucco e1be5c179c Add rockspec for version 0.2.0 2017-11-11 16:43:24 +00:00
Stefano Mazzucco a7de942910 Restructure repository
- mode module into src/connman_widget/init.lua
- update development rockspec
2017-11-11 16:40:07 +00:00
Stefano Mazzucco dee5822679 Use latest connman_dbus development version, drop Awesome DBus API
The latest connman_dbus keeps itself up-to-date with its own signals, this
makes possible to drop the Awesome DBus API completely and simplify the code.
2017-11-10 23:56:49 +00:00
Stefano Mazzucco ed1c7a9cae Add "Contributing" section to README 2017-07-16 13:15:50 +01:00
Stefano Mazzucco a254bfe596 Improve documentation about installing the widget
- remove section about installing from source: this requires some juggling and
  symlinking, so I will leave it to people who *really* want to do it
- explain how to export the local luarocks path when installint locally with luarocks
2017-07-16 13:14:46 +01:00
Stefano Mazzucco 9a5a560cae Add rockspec for version 0.1.5 2017-06-15 15:54:01 +01:00
Stefano Mazzucco e917b699a9 Check that the services array is not nil before indexing it
This may happen when e.g. the connman service is restarted.
2017-06-14 22:35:16 +01:00
Stefano Mazzucco 818e556974 Remove unneeded variable from widget:update function call
Somehow I missed this one. Although it's harmless, the call must conform to the
function's signature.
2017-06-13 15:06:38 +01:00
Stefano Mazzucco fa57d57594 Use connman_dbus 0.2.x backend and update tooltip
The only visible change should be that the tooltip now shows the network
status (e.g. "online") and the WiFi signal (when applicable) in parentheses.

Internally, use the connman_dbus 0.2.x as backend to profit of the improvements
given by the dependency on lgi/GLib instead of ldbus.

The code has also been greatly simplified.
2017-06-05 15:43:55 +01:00
Stefano Mazzucco ba04382544 Release version 0.1.3 2016-10-21 23:23:48 +01:00
Stefano Mazzucco def950de4c Specify `lua` in markdown 2016-10-21 23:20:43 +01:00
Stefano Mazzucco 5ce56e036f Show how the GUI client can be overridden 2016-10-21 23:18:46 +01:00
Stefano Mazzucco 64ad114af9 Change the way icons are searched (breaking)
This is a breaking change in the way icons are searched. Instead of
specifying just one path and extension, multiple paths and extensions
can be passed. However the field names have changed from singular to
plural.
2016-10-21 23:14:22 +01:00
Stefano Mazzucco f3e0816c7c Release v0.1.2 don't error on unknown service type
Fix an error when service.Type is not a field of service_types and the
code attempts to call a nil value.

Turns out that service.Type can be the string "?", probably because
connman has not identified the type yet.
2016-10-14 10:25:11 +01:00
Stefano Mazzucco d26389058f Reformat rockspec 2016-10-14 10:23:14 +01:00
Stefano Mazzucco 837c188acf Release version 0.1.1: add explicit license
The license was specified in the rockspec file, but there was no LICENSE
file nor license boilerplate in the Lua code.
2016-10-06 22:05:09 +01:00
Stefano Mazzucco 3ce965b7c0 Release version 0.1.0 2016-10-06 21:58:06 +01:00
Stefano Mazzucco 1ff669a2a6 Initial commit 2016-10-06 21:53:24 +01:00