Commit Graph

1797 Commits

Author SHA1 Message Date
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
Aleksandr Beliaev 9ef2c734ca Weather status icon fix 2019-05-13 11:08:46 +12:00
Azarym 724c7b9a3a
widget.cal: set length of day names to 3; closes #426 2019-04-28 12:46:56 +01:00
Luca Capezzuto 85db468376
widget.fs: notification: right-justify columns 2-4 for better readability 2019-04-11 17:15:31 +01:00
Luca Capezzuto 0a0a077b86
widget.fs: fixed first column formatting adjustment; closes #423 2019-04-09 18:25:02 +01:00
methodical-marmot 012c6b6215 widget.cal: added option for displaying week numbers 2019-04-09 12:45:51 +01:00
Luca Capezzuto fd2e616097 #424: assert that timeout seconds in every naughty notification are numbers 2019-04-08 11:37:38 +01:00
Luca CPZ 013654cd1a
Merge pull request #420 from sim590/unpack-lua51-compat
util/menu_iterator: retro compatibility with lua 5.1
2019-02-14 15:26:41 +00:00
Simon Désaulniers 037f2c3641 util/menu_iterator: unpack retro compatibility
* Lua 5.2 renamed `unpack` to `table.unpack`.
* Fix: helpers.lua required.
2019-02-13 14:19:07 -05:00
Luca CPZ 93b31ef0e9
Merge pull request #418 from cool-cool-sweat/full_notify
bat: allow disabling notification for full charge
2019-01-14 10:59:13 +00:00
cool-cool-sweat c96ce93c28 bat: allow disabling notification for full charge 2019-01-12 18:57:54 -05:00
Luca CPZ 1a40fe80f8 widget.fs: fix notification check, add threshold parameter for trigger 2018-12-30 19:12:25 +01:00
Luca CPZ 1342ae481b Merge branch 'master' of github.com:lcpz/lain 2018-12-21 17:19:21 +01:00
lcpz 8d1a905479 tp_smapi: correct default apipath 2018-12-01 19:03:58 +00:00
lcpz 6c3a211991 util.quake: revert previous commit; closes #415 2018-12-01 18:35:44 +00:00
Luca CPZ ca0bac403f
Merge pull request #416 from BarbUk/fix/tp_smapi
widget.contib.smapi: rename to tp_smap, include wibox, add batid param to get function
2018-12-01 18:30:04 +00:00
BarbUk 1046cf6ce9 tp_smapi.get need a batid param 2018-12-01 16:06:12 +04:00
BarbUk dec9e7b1eb Include wibox 2018-12-01 16:05:47 +04:00
BarbUk 5321eb485a Rename smapi to ts_smapi
To follow to documentation available at https://github.com/lcpz/lain/wiki/tp_smapi
smapi is renamed tp_smapi
2018-12-01 16:03:56 +04:00
lcpz 233768f096 API change: lain.widget.contrib.tpbat has been rewritten and renamed to lain.widget.contrib.tp_smapi
lain.widget.cal: honour followtag argument

lightened calls to libraries
2018-11-28 20:01:22 +00:00
lcpz d9d5a464cb wiki updated 2018-11-28 15:07:42 +00:00
Luca CPZ 018fb197df
Merge pull request #413 from seregaxvm/master
fix imap notifications
2018-11-28 15:05:26 +00:00
Matsievskiy S.V 8d15b03eca fix imap notifications 2018-11-28 17:17:08 +03:00
lcpz 8112df667d lain.imap: various improvements
1. allow special chars in password
2. make it gmail/yandex compliant
3. fetch additional data (MESSAGES and RECENT)
4. support DBus Secret Service authentication method
2018-11-24 15:03:36 +00:00
lcpz 4f3babced7 widget.cal: fix calendar icons not displaying; closes #410 2018-11-15 10:59:52 +00:00
Luca CPZ 448d0b1be9
Merge pull request #409 from seregaxvm/gap
add screen and tag arguments to useless_gaps_resize function
2018-11-14 20:07:50 +00:00
sergey f76d33e8cd add screen and tag arguments to useless_gaps_resize function 2018-11-10 21:58:37 +03:00
Greg Flynn f6e032ffe1 allow separator colors to be updated 2018-11-05 20:39:24 +00:00
Greg Flynn 4cc47f8d61
fix paddings always being the margins in pulsebar 2018-11-04 14:29:12 -05:00
lcpz f58970997e {alsa,pulse}bar: added margins/paddings args 2018-10-30 08:08:05 +00:00
Luca CPZ be69daf964 util.markup: fixed typos 2018-10-28 12:43:54 +00:00
Luca CPZ eb8c113fc8 util.markup: fixed typos 2018-09-15 10:21:37 +02:00
Luca CPZ c02fcdb2e9 widget.cal: add options for displaying 3 months spanning the date 2018-09-14 20:21:42 +02:00
Luca CPZ 9188218021 widget.calendar reimplemented and renamed to widget.cal; util.quake: simpler geometries table index; util.markup: use string.format only 2018-09-14 12:09:11 +02:00
Luca CPZ 4073bd7cdf widget.calendar: some cleaning; #379 2018-09-06 16:25:37 +02:00
Luca CPZ 558622c1ec widget.imap: ensure mailcount is not nil before notifying; closes #400 2018-08-31 12:11:38 +02:00
Luca CPZ 53ebca2867 widget.imap: ensure to get unseen messages; #400 2018-08-30 17:40:17 +02:00
Luca CPZ 4dbf7b9f5b widget.contrib.kbdlayout removed, please use awful.widget.keyboardlayout; closes #399 2018-08-07 10:41:50 +02:00
Luca CPZ 3acf8f9099
Merge pull request #398 from BarbUk/feature/tpbat/configurable-battery-thresholds
Configurable battery thresholds for tpbat
2018-08-05 11:55:44 +02:00
BarbUk 1d5b0bc7ea Configurable battery thresholds for tpbat 2018-08-05 12:45:56 +04:00
Luca CPZ 9bd30809ac wiki updated 2018-08-01 11:55:19 +02:00
Luca CPZ 47ee721339 widget.bat: put {batteries,ac} back to local 2018-08-01 11:26:30 +02:00
Luca CPZ 907529920f widget.bat: fixed ac variable; improved autodetection; #397 2018-07-31 16:07:39 +02:00
Luca CPZ f42fe32d99 widget.bat: add failsafe AC 2018-07-31 12:35:59 +02:00
Luca CPZ 819600e94a widget.bat: move fallback ac to autodetection function 2018-07-26 13:20:01 +02:00
Luca CPZ 89ae530806 widget.bat: autodetection function; closes #340 #389 2018-07-25 12:43:01 +02:00
Luca CPZ a4c86f9ace centerwork: remove capi reference 2018-07-20 13:05:03 +02:00
Luca CPZ feb17d77bb centerwork: mouse_resize_handler added; #395 2018-07-20 12:52:12 +02:00
Luca CPZ ef307c3db9
Merge pull request #396 from BarbUk/icons/calendar-black
Calendar black icons to use with white theme.
2018-07-20 12:44:34 +02:00
BarbUk 16e311b4c4 calendar black icons 2018-07-20 11:17:13 +04:00