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
...
luacheck / build (push) Has been cancelled
update site / build (push) Has been cancelled
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
...
update site / build (push) Has been cancelled
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
Artem Tarasov
484eb68671
show cover art in the popup
2024-05-19 14:38:46 +02:00
Artem Tarasov
a11ee2ec8a
working progressbar
2024-05-19 12:42:49 +02:00
streetturtle
5e3cbf93e6
Merge pull request #437 from radiodee1/apt-widget-icon-control
...
apt-widget icon-control
2024-05-18 12:42:04 -04:00
streetturtle
8ab87d20bf
Merge pull request #444 from Stasky745/master
...
Allow setting up logout-popup-widget button keybindings and ignore case
2024-05-18 12:41:01 -04:00
streetturtle
7dd0041315
Merge pull request #400 from FerrielMelarpis/fix-brightnessctl-displayed-value
...
fixed brightnessctl get command to get percentage value
2024-05-17 13:47:39 -04:00
Stasky745
60a262fb39
Add the argument to ignore CAPS LOCK
2024-05-17 17:17:00 +02:00
Stasky745
4d161f8583
Add the argument to ignore CAPS LOCK
2024-05-17 17:14:56 +02:00
Stasky745
f147c600e5
Fix bug where it wouldn't work with uppercase
2024-05-17 17:03:49 +02:00
Stasky745
3a9990f8b0
Allow setting up logout-popup-widget button keybindings and ignore case
2024-05-17 16:48:25 +02:00
streetturtle
6f89bdbf18
Merge pull request #440 from florent-haxhiu/master
...
fix: import statement had typo
2024-03-31 10:40:31 -04:00
Florent Haxhiu
cee3a13df4
fix: import statement had typo
2024-03-31 16:22:42 +01:00
David Liebman
d45bdd5a40
apt-widget icon-control
2024-01-16 11:18:29 -05:00
streetturtle
85fbddf6d9
Merge pull request #435 from Ryuno-Ki/fix-apt
...
fix: repair APT widget
2024-01-06 20:58:41 -05:00
André Jaenisch
73e983e782
fix: repair APT widget
...
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2023-12-27 10:28:40 +01:00
streetturtle
fd9c62608f
Merge pull request #432 from AsmodaiP/fix-formatting-for-pipeline
...
Fix formatting for pipeline
2023-12-07 11:01:26 -05:00
Dmitriy
331e059e71
Fix formatting for pipeline
2023-12-07 12:04:51 +03:00
streetturtle
3d36034c96
Merge pull request #428 from AsmodaiP/fix-email-widget
...
Fix email widget
2023-12-06 21:04:45 -05:00
streetturtle
6f80b53ada
Merge pull request #429 from AsmodaiP/update-readme-of-volume-widget
...
Add information about functional keycodes and amixer/playerctl to readme of volume widget
2023-12-06 21:03:40 -05:00
Dmitriy
bae3f4f806
add information about amixer and playerctl to readme of volume widget
2023-11-28 10:49:46 +03:00
Dmitriy
34cc847ff5
Add information about functional keycodes to readme of volume widget
2023-11-27 17:59:46 +03:00
Dmitriy
c2acfddd09
Fix email widget
2023-11-26 15:16:29 +03:00
streetturtle
4a807514c2
Merge pull request #427 from Luka5W/master
...
complete redesign of #417 , working now (tm)
2023-11-23 20:57:10 -05:00
Luka5W
2c58ef6fd1
complete redesign of #417 , working now (tm)
2023-11-23 17:48:38 +00:00
Lukas
c2714b5eaf
Merge pull request #1 from Luka5W/revert-417-luka5w-calendar
...
Revert "calendar-widget: added option to show week numbers, possible …
2023-11-23 16:40:10 +00:00