streetturtle
d6733cf2b6
Merge pull request #460 from streetturtle/fix-luacheck
...
Fix luacheck issues
2024-11-11 18:06:36 -05:00
streetturtle
b93080ee0a
Update mpris-widget/init.lua
...
Co-authored-by: André Jaenisch <Ryuno-Ki@users.noreply.github.com>
2024-11-11 18:01:04 -05:00
streetturtle
7eb3b2a453
Fix luacheck issues
2024-11-09 13:57:48 -05:00
streetturtle
ca4ba9d24c
Merge pull request #458 from Ryuno-Ki/preview-on-hover
...
feat: configuration option for hover forecast
2024-11-09 13:49:22 -05:00
André Jaenisch
fa4ff8b40d
feat: configuration option for hover forecast
...
Based on a request this is now configurable.
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-10-30 10:50:56 +01:00
streetturtle
81cd341857
Merge pull request #455 from Ryuno-Ki/weather-hourly-forecast
...
feat: show hourly forecast
2024-10-26 20:04:45 -04:00
André Jaenisch
449f2dbb39
fix: inverse logic
...
I only need to add a prefix when it is not day.
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-10-24 11:14:00 +02:00
André Jaenisch
6f4c1deac2
chore: add icons
...
I removed the executable flag from all of them.
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-10-22 10:55:27 +02:00
André Jaenisch
a9a33b5d4d
feat: consider day/night information
...
This was highly requested. I hope I catched all cases.
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-10-22 09:28:56 +02:00
André Jaenisch
d64dd366f3
chore: track example_response.json
...
This should ease the job of updating this widget.
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-10-22 09:14:51 +02:00
André Jaenisch
87259502cf
feat: add preview on hover
...
This was a nice contribution!
Co-authored-by: trap000d
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-10-22 09:04:01 +02:00
streetturtle
f668fa7507
Merge pull request #456 from utix/master
...
volume default card should be 0
2024-10-12 13:33:37 -04:00
André Jaenisch
f5e81dea79
fix: remove superfluous quotation mark
...
NeoVim tried to be helpful.
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-10-11 08:51:24 +02:00
Aurelien LAJOIE
8163e2a01a
fix: volume default card should be 0
...
Majority of users has only one card so default should be 0 not 1
2024-10-10 20:15:56 +02:00
André Jaenisch
9604aef6ba
feat: show hourly forecast
...
This took me quite some trial and error to figure out.
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-10-10 16:27:23 +02:00
streetturtle
4d05c96f65
Merge pull request #433 from Luka5W/master
...
logout-menu: fixed widget button bg color, fixed rows fg color
2024-10-05 15:55:05 -04:00
streetturtle
c9c1d6bde0
Merge pull request #454 from Ryuno-Ki/weather-api-forecast
...
feat: show daily forecast
2024-10-05 15:51:48 -04:00
André Jaenisch
27727f0ccc
feat: show daily forecast
...
Each day is also including hourly forecast, but this PR lays the
groundwork by talking to the right endpoint.
Instead of day and night values (like in the old weather-widget) I'm
showing min and max temperature as forecasted here.
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-09-27 19:20:37 +02:00
streetturtle
68ddbd9812
Merge pull request #452 from maverick1872/patch-1
...
feat(calendar): add auto hide functionality
2024-08-08 21:55:57 -04:00
Jonathon Terry
f421ed6c89
docs: document new user customization options
2024-08-03 14:55:58 -07:00
Jonathon Terry
5cf75b13d4
fix: indentation fix
2024-08-03 14:53:50 -07:00
Jonathon Terry
1be1419ab4
fix: ensure timer is stopped if visibility is manually toggled
2024-08-03 14:53:09 -07:00
Jonathon Terry
2063b0e8e2
feat: add auto hide functionality to calendar widget
2024-08-03 14:49:30 -07:00
streetturtle
effc902821
Merge pull request #451 from JSONCarrillo/master
...
fixed typo mentioned in #443
2024-07-25 17:50:26 -04:00
jason
60814f93e8
fixed typo mentioned in #443
2024-07-25 14:16:53 -06:00
streetturtle
df6bc4a260
Merge pull request #445 from lomereiter/mpris_widget_improvements
...
MPRIS widget improvements
2024-07-06 17:33:59 -04:00
streetturtle
09feeaaafd
Merge pull request #448 from Ryuno-Ki/weather-migration
...
feat: migrate weather.lua to use WeatherAPI
2024-07-06 17:33:12 -04:00
André Jaenisch
d9e9ee6938
chore: include screenshot of popup
...
Unlike weather widget I only have the current weather in place here.
I'm okay with the default font so I have not created another screenshot.
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-07-02 08:37:36 +02:00
André Jaenisch
df7260503d
refactor: restore original implementation
...
This is going to be marked as deprecated by streetturtle going forward.
As of today, I am still able to successfully call the v2.5 API.
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-06-25 08:33:30 +02:00
André Jaenisch
f0cb75f40f
refactor: extract WeatherAPI widget into its own
...
This was done to allow for choice. In the first step I copied over the
existing code into a new folder and accompanied it with icons and
locales. There is no indicator of night in the JSON responses, which
made me delete the respective icons.
I copied and updated the README to fit the current implementation.
I will need to add screenshots before I can ask for another round of
review.
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-06-25 08:24:07 +02:00
streetturtle
d646bb6db9
Merge pull request #447 from radiodee1/icon-control-readme
...
modify readme for icon-control
2024-06-21 21:04:03 -04:00
André Jaenisch
9abce7fa9a
chore: remove dead code
...
Luacheck fails over this unused code. Streetturtle gave me green light
to remove it as part of this PR.
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-06-19 08:17:19 +02:00
André Jaenisch
ebcf76ae17
fix: missed a blank line
...
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-06-18 18:21:34 +02:00
André Jaenisch
11c62fb80b
fix: drop unused variables
...
Let's make Luacheck happy!
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-06-18 18:19:23 +02:00
André Jaenisch
c734c05614
feat: safeguard against invalid JSON
...
It appears that OpenWeatherMap sometimes sent out bad JSON.
Learn from the lesson and do better in this PR.
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-06-18 18:16:54 +02:00
André Jaenisch
39d72e4c0d
refactor: rewrite weather.lua to use WeatherAPI
...
When I looked into OpenWeatherMap 3.0 API they demanded credit card
information even for their free tier. Therefore I decided to move to
another provider with a generous tier.
In a first step I rewrote the current weather report (i.e. no forecast)
to use it.
I haven't received any commentary on #442 so I don't know where your
mind was going. If OpenWeatherMap phases out its 2.5 API and nobody else
intends to use their 3.0 one, I offer to take this implementation
instead.
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-06-17 16:56:10 +02:00
David Liebman
4941ac59de
modify readme for icon-control
2024-06-13 14:56:31 -04:00
Artem Tarasov
0adeedfe99
formatting with stylua (Spaces, AutoPreferSingle, NoSingleTable, FunctionOnly)
2024-06-01 09:43:13 +02:00
Artem Tarasov
cb150775ec
avoid passing nil to string.sub
2024-06-01 09:17:10 +02:00
Artem Tarasov
d58ed66d0a
extra protection against division by zero
2024-05-26 22:46:04 +02:00
Artem Tarasov
0391d98acb
swap play and pause icons to indicate intended action instead of the status
2024-05-23 08:05:59 +02:00
Artem Tarasov
a69682b240
use more standard progressbar direction
2024-05-23 08:04:51 +02:00
Artem Tarasov
5a1cef608c
allow to override default player
2024-05-20 20:26:56 +02:00
Artem Tarasov
10aeeb71ad
handle absence of year in the metadata
2024-05-20 20:20:56 +02:00
Artem Tarasov
08b401442e
put back forced_height (useful for long album names)
2024-05-20 20:07:57 +02:00
Artem Tarasov
cc3e74e099
show album year in the popup
2024-05-20 20:06:14 +02:00
Artem Tarasov
182f80349d
customizable popup width
2024-05-20 19:58:40 +02:00
Artem Tarasov
2e422691d2
fix duration function, allow to override icons and font
2024-05-20 19:55:06 +02:00
Artem Tarasov
f944270602
refactoring + fix player selection
2024-05-20 19:05:59 +02:00
Artem Tarasov
d8376f7bec
minor improvements
2024-05-19 18:34:45 +02:00