Commit Graph

111 Commits

Author SHA1 Message Date
Luca Capezzuto 3d4bb0b1d3
widget.weather: remove invalid default API key; wiki updated; closes #493 2021-03-15 18:43:43 +01:00
Aleksandr Beliaev 01d4f14919 Openweathermap license conditions and API changes 2021-03-10 15:16:22 +13:00
Luca CPZ 10076e1d69
Merge pull request #484 from andersfugmann/battery_ac
Fix AC detection for battery widget.
2021-02-19 10:19:46 +00:00
Anders Fugmann 15bba30180 Fix ac detection for bat widget.
Multiple power sources may exist under /sys/class/power_supply/.
Durring autodetection (get_batteries), will case the detected ac to be reset to 'AC0' if a power source not starting with BAT or AC.

This change skips updating the name of the ac device if the devices does not start with 'AC'
2021-01-18 17:47:40 +01:00
Sébastien Le Corre c782f7d775 Validate function before callback. Fixes #482 2021-01-13 04:09:47 +01:00
Luca Capezzuto 80e41c1e7b
widget.weather: fix check in notification #479 2020-12-16 11:41:22 +01:00
Luca CPZ 112e1f3530 Merge branch 'master' of https://github.com/staticssleever668/lain into staticssleever668-master 2020-11-30 14:29:27 +00:00
Luca CPZ 8b561a6a84
Merge pull request #473 from mphe/fs_async_fix_fix
Fix async update calls in fs widget
2020-11-30 14:22:46 +00:00
staticssleever668 0a2ff9e1de
Fix various luacheck warnings 2020-11-30 00:58:47 +03:00
Marvin Ewald bdb19e827e Fix async update calls in fs widget
- Use `gears.protected_call` in order to get errors logged.
- Fix `fs.show` not waiting for update to complete.
2020-11-29 17:06:27 +01:00
Luca CPZ a071cc54b8
Merge pull request #443 from felipeagc/mute-background
Add mute_background color for pulsebar
2020-11-27 12:21:54 +00:00
Marvin Ewald a2e2e7194e Run fs widget update asynchronously
Fixes #462
2020-11-14 02:03:38 +01:00
Tristan Ross d5b5047404 Fix the nil values in net 2020-11-03 12:55:25 -08:00
Tristan Ross 502a1a28ba Added args.widget info all widgets that can take it 2020-10-31 10:11:29 -07:00
Luca CPZ e578cc9796
Merge pull request #457 from quizzmaster/master
Fix notification text for calendar widget
2020-10-27 18:07:46 +00:00
NCM 1c150887b4
weather: use https instead of http
api.openweathermap.org api provides a valid ssl certificate
2020-10-25 14:45:38 -03:00
Sebastian Lenz 89b3d66d8f Fix notification text for calendar widget 2020-06-10 14:29:57 +02:00
Neville Li e0bffc0056 fix fs widget notification alignment 2020-05-23 13:24:40 -05:00
Luca CPZ 0775f97b42
Update net.lua 2020-04-29 12:28:39 -05:00
Luca CPZ af125b324e
Update bat.lua
Ensure that status is never nil. Closes #451
2020-04-17 20:25:55 -05:00
Felipe 9756713905 Add mute_background color for pulsebar 2019-10-13 16:52:27 -03:00
Luca Capezzuto 71ca1bd767
widget.temp: reset path to /sys/devices; closes #441 2019-08-27 17:08:37 +01:00
Luca Capezzuto 9120182f49
apply #439 to alsabar as well 2019-08-12 17:44:58 +01:00
Luca CPZ ee84995734
Merge pull request #439 from gregflynn/201908_gf_customize_pulsebar_notification_characters
add configuration arguments for pulsebar notification characters
2019-08-12 17:33:44 +01:00
Luca Capezzuto bd636ca418
alsabar: added argument for maximum number of ticks in notification; #438 2019-08-12 17:29:24 +01:00
Greg Flynn d3b5b5a94d add arg for none in pulsebar notification 2019-08-10 13:34:15 -04:00
Greg Flynn 63186a340c add configuration arguments for pulsebar notification characters 2019-08-10 13:27:17 -04:00
razamatan b5352ef66f pulsebar: use devicetype and device instead of sink (null var) 2019-06-28 00:24:01 -07:00
Luca Capezzuto f1964b40e4 widget.temp: re-add tempfile argument (#432), but keep retrieving all temperature info (#431); closes #432 2019-05-29 15:29:27 +01:00
Luca Capezzuto 025508ce83 widget.temp: autodetect tempfiles; closes #431 2019-05-27 13:14:38 +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
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
lcpz 8d1a905479 tp_smapi: correct default apipath 2018-12-01 19:03:58 +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
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
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 c02fcdb2e9 widget.cal: add options for displaying 3 months spanning the date 2018-09-14 20:21:42 +02:00