Go to file
Luca CPZ 3328e738bd
Merge pull request #430 from trap000d/weather_widget
Weather status icon fix; closes #428.

It looks like OpenWeatherMap have fixed most of issues in their API. Now they return sunrise and sunset times properly for current time zone, however the status icon is still wrong:

    transition N->D appears at 0:00 UTC (must be at local sunrise time)
    whereas D->N appears at local sunset time

So we still need to check if we're in or out from sunrise/sunset times, but no need to perform all other manipulations with dates and times.
2019-05-13 12:44:26 +01:00
icons centerwork: mouse_resize_handler added; #395 2018-07-20 12:52:12 +02:00
layout API change: lain.widget.contrib.tpbat has been rewritten and renamed to lain.widget.contrib.tp_smapi 2018-11-28 20:01:22 +00:00
util util/menu_iterator: unpack retro compatibility 2019-02-13 14:19:07 -05:00
widget Weather status icon fix 2019-05-13 11:08:46 +12:00
wiki@e5a195cfc0 widget.fs: fixed first column formatting adjustment; closes #423 2019-04-09 18:25:02 +01:00
.gitmodules pulseaudio -> pulse; scallback merged into cmd (read wiki) 2017-10-05 11:32:01 +02:00
ISSUE_TEMPLATE.md pulseaudio -> pulse; scallback merged into cmd (read wiki) 2017-10-05 11:32:01 +02:00
LICENSE Create LICENSE 2016-10-24 10:58:47 +02:00
README.rst widget.cal: added option for displaying week numbers 2019-04-09 12:45:51 +01:00
helpers.lua util/menu_iterator: unpack retro compatibility 2019-02-13 14:19:07 -05:00
init.lua Weather widget rewritten; first authorship updated 2018-02-15 12:24:31 +01:00
lain-scm-1.rockspec updating lain rockspec to follow new luarocks standards 2018-03-30 10:39:34 -03:00

README.rst

Lain
====

-------------------------------------------------
Layouts, widgets and utilities for Awesome WM 4.x
-------------------------------------------------

:Author: Luca CPZ
:Version: git
:License: GNU-GPL2_
:Source: https://github.com/lcpz/lain

Description
-----------

Successor of awesome-vain_, this module provides alternative layouts, asynchronous widgets and utility functions for Awesome_. Read the wiki_ for all the info.

Contributions
-------------

Constructive criticism and suggestions are welcome.

If you want to create a pull request, make sure that:

- Your code fits with the general style of the module. In particular, you should use the same indentation pattern that the code uses, and also avoid adding space at the ends of lines.

- Your code its easy to understand, maintainable, and modularized. You should also avoid code duplication wherever possible by adding functions to or using lain.helpers_. If something is unclear, or you can not write it in such a way that it will be clear, explain it with a comment.

- You test your changes before submitting to make sure that you code works and does not break other parts of the module.

- You update ``wiki`` submodule with a thorough section, if necessary.

Contributed widgets have to be put in ``widget/contrib``.

.. _GNU-GPL2: http://www.gnu.org/licenses/gpl-2.0.html
.. _awesome-vain: https://github.com/vain/awesome-vain
.. _Awesome: https://github.com/awesomeWM/awesome
.. _wiki: https://github.com/lcpz/lain/wiki
.. _lain.helpers: https://github.com/lcpz/lain/blob/master/helpers.lua