razamatan
cf6323e117
introduce helpers.uri (curl replacement) & migrate widget/weather to it
...
- new dependency: needs libsoup gi installation (smaller than gvfs)
- [breaking] weather: `(current/|forecast)_call` changed to `(current|forecast)_uri`
- [breaking] weather: use scoped (non-global) `now.current` and `now.forecast` to avoid `weather_now`
clobbering. see #550 for more details.
- weather: display something useful by default
- weather: render the hour of the forecast by default since the default
forecast is 5 days by 3h increments
- weather: add degree symbol to temperatures by default
2023-01-19 16:18:39 -08:00
Luca Capezzuto
1703661273
luacheck: add global objects, ignore W131 only
...
Inspired by AwesomeWM's luacheckrc:
https://github.com/awesomeWM/awesome/blob/master/.luacheckrc
Signed-off-by: Luca Capezzuto <luca.cpz@gmail.com>
2022-06-11 12:25:17 +02:00
Luca CPZ
6b3bdcaed1
#474 : remove remaining 9 warnings
2020-11-30 14:58:27 +00:00
staticssleever668
0a2ff9e1de
Fix various luacheck warnings
2020-11-30 00:58:47 +03:00
Luca Capezzuto
025508ce83
widget.temp: autodetect tempfiles; closes #431
2019-05-27 13:14:38 +01: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
92d17d289c
helpers: improved i/o functions
2018-02-23 13:24:10 +01:00
Luca CPZ
1b909160d6
util.menu_iterator: cleaned indentation; added wiki entry; closes #386
2018-02-17 14:06:20 +01:00
Luca CPZ
af3427c7df
Merge pull request #377 from sim590/menu-iterator
...
menu_iterator: naughty.notify based menu utility
2018-02-17 12:19:53 +01:00
Simon Désaulniers
2bb4741bb4
helpers: powerset and trivial_partition_set
...
- the powerset is the set of all combinations of a given set;
- the trivial partition set is the simplest partition of a set. For e.g., the
trivial partition set of {a, b, c}, is simply {{a}, {b}, {c}}.
2018-02-16 15:26:41 -05:00
Aleksandr Beliaev
31d64906a0
Weather widget rewritten; first authorship updated
2018-02-15 12:24:31 +01:00
cool-cool-sweat
35856d49a2
Add line_callback and edit async helpers
2018-01-22 22:06:38 -05:00
Luca CPZ
d99ce8fdba
helpers: async_with_shell added
2017-12-19 17:20:59 +01:00
Luke Bonham
1b12fd2319
removed whitespaced signatures; wiki updated
2017-09-04 12:43:00 +02:00
copycat-killer
f914e6411e
base: removed
2017-01-29 14:45:15 +01:00
copycat-killer
229d2545dd
#293 : eradicate proxy widget
2017-01-26 20:53:55 +01:00
copycat-killer
bf3a9ba5ef
imap: password can now be a string, a table or a function to execute
2017-01-25 21:06:20 +01:00
copycat-killer
58b2a122dd
wiki updated
2017-01-25 19:50:08 +01:00
copycat-killer
2d35d4e102
#288 trying metatables
2017-01-25 19:34:18 +01:00
copycat-killer
43cd98510a
calendar: fix async hanging notifications; closes #289
2017-01-25 18:35:30 +01:00
copycat-killer
49a4df385e
no need to set naughty.config.defaults as preset, because it's implicit; closes #290
2017-01-25 17:28:37 +01:00
copycat-killer
a00417d801
helpers.newtimer: added stoppable option
2017-01-24 16:15:40 +01:00
copycat-killer
0279482eeb
from asynchshell to awful.spawn.easy_async; started making every widget asynchronous
2017-01-20 20:58:22 +01:00
copycat-killer
75b19142c1
layout: fixed useless_gap retrieval
2017-01-18 22:54:10 +01:00
copycat-killer
5f1fd821a0
port to awesome 4.0 completed; #248
2017-01-09 20:21:56 +01:00
copycat-killer
2f1f0c572a
wiki updated #254 ; other fixes
2017-01-08 13:25:09 +01:00
copycat-killer
cf2c442499
net/mpd widget resize fix; #248
2017-01-03 12:21:50 +01:00
copycat-killer
98bb2dc5ef
wiki updated
2016-11-06 12:18:34 +01:00
copycat-killer
7e6f1336f2
net: specify ip path; #102
2016-09-13 16:29:17 +02:00
copycat-killer
a659d1a4bc
#221 use string.format; wiki updated
2016-08-11 13:43:35 +02:00
copycat-killer
14cab4ebc3
#182 and #184 implemented without tabs; wiki updated
2016-03-30 16:34:41 +02:00
copycat-killer
5f902517ff
using timer sharing; #114
2016-03-02 13:48:55 +01:00
Quan Guo
47a00516d8
Merge branch 'master' of https://github.com/copycat-killer/lain
2016-01-29 20:42:56 +01:00
Sudo Nice
418e475b5b
helpers: spairs() added
2015-11-18 11:02:16 +03:00
Luke Bonham
0b80b45bc9
revert to previous stable
2015-10-20 15:17:44 +02:00
copycat-killer
912bd26ede
merge and resolve conflicts from #134 ; #114
2015-10-12 12:09:44 +02:00
Quan Guo
3c52f47f46
New timer
2015-10-02 00:38:40 +02:00
Dario Gjorgjevski
6603c641c6
abstract out reading full output of pipes
2015-08-13 01:56:37 +02:00
luke bonham
973b56ce0b
whitespaces cleaning
2015-08-05 13:31:15 +02:00
luke bonham
7f203ab08d
asyncshell.request: removed unused argument
2015-08-05 13:31:15 +02:00
luke bonham
b371de56f8
widget module loads optimization
2015-08-05 13:31:14 +02:00
luke bonham
0dfbb462e8
#25 blueluke's fix attempt
2015-08-05 13:30:38 +02:00
luke bonham
9cd85a2582
#25 fix attempt 2
2015-08-05 13:30:38 +02:00
luke bonham
11656d7713
fixed typo in helpers.lua
2015-08-05 13:30:38 +02:00
luke bonham
89d557638d
new I/O file helper functions
2015-08-05 13:30:38 +02:00
luke bonham
b0a71baeb5
yawn: localizations and icons updated
2015-08-05 13:30:31 +02:00
luke bonham
f7aa289195
small fixes
2015-08-05 13:30:30 +02:00
luke bonham
4bde4b5eea
widgets fix
2015-08-05 13:30:30 +02:00
luke bonham
8d37b9a1e4
totally reworked widgets
2015-08-05 13:30:29 +02:00
luke bonham
7a4d6f5ffa
first commit
2015-08-05 13:29:53 +02:00