mirror of https://github.com/lcpz/lain.git
3328e738bd
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. |
||
---|---|---|
icons | ||
layout | ||
util | ||
widget | ||
wiki@e5a195cfc0 | ||
.gitmodules | ||
ISSUE_TEMPLATE.md | ||
LICENSE | ||
README.rst | ||
helpers.lua | ||
init.lua | ||
lain-scm-1.rockspec |
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