Luca CPZ
438dd74810
widget.weather: use math.floor; closes #519
2022-10-20 19:38:51 +00:00
Florian Baumgärtner
d2ac6f308d
removes the utf-8 dependency
...
Should fix https://github.com/lcpz/lain/issues/503
2022-10-18 22:04:02 +02:00
Florian Baumgärtner
67e8bde37b
fix cal align for short day names
...
If the day names do not consist of three characters, the alignment is off
(see https://github.com/lcpz/lain/issues/522 ).
2022-10-18 22:03:07 +02:00
Luca Capezzuto
5403835b96
Some linting
...
- layout/centerwork: specify client as a dependency, improve logic at lines
141, 149
- widget/temp: remove whitespace
Signed-off-by: Luca Capezzuto <luca.cpz@gmail.com>
2022-06-11 11:26:23 +02:00
Albin Wahlén
57dee4c91b
Fix temp widget show N/A when no sensor found ( #528 )
2022-03-26 17:58:50 +00:00
Albin Wahlén
6a06d3cb79
Add format option for net and temp widget ( #523 )
2022-03-15 16:17:01 +00:00
Albin Wahlén
4933d6cb27
Fix alsa widget updating unnecessarily ( #516 )
2021-09-25 11:53:06 +00:00
Sam Price
7e814d1411
Add volume to MPD widget ( #507 )
2021-07-01 19:08:53 +00:00
Pratik Devkota
6bf79c30ae
Update cpu.lua ( #506 )
...
I noticed once that the CPU usage was being reported as being '-1%', I dug around the code for a while and think that the change at line 52 should make sure no negative values are obtained.
Co-authored-by: Pratik Devkota <pratikdevkota82@gmail.com>
2021-07-01 19:07:07 +00:00
Marvin Ewald
16e2e73336
Add capacity field to battery widget ( #504 )
2021-05-07 16:41:39 +00:00
MarcinM
5882000904
widget.cal: fix week numbers ( #501 )
...
widget.cal: fix week numbers; closes #487
2021-03-31 10:19:10 +00:00
Luca Capezzuto
a955bbb2a9
widget.cal: remove whitespace; wiki.weather updated
2021-03-30 12:14:08 +02:00
Aleksandr Beliaev
799fab660b
"temp_min" and "temp_max" are useless as both show always the same value
2021-03-30 12:09:59 +02:00
Czarnodziej
e5774fd463
prevent redrawing cal notification after change
2021-03-28 14:18:26 +02:00
Czarnodziej
3a6882af54
widget.cal: fix utf-8 weekday names
2021-03-28 14:15:11 +02:00
bzgec
47a2da364f
Converting volume level to number in ALSA widget
2021-03-28 14:14:30 +02:00
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