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
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
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
Lukas
2270b956bc
Revert "calendar-widget: added option to show week numbers, possible fix for #316 "
2023-11-23 16:31:08 +00:00
streetturtle
14d74c51a9
Merge pull request #397 from maciejjan/pactl-widget-nonenglish-locale
...
Make the pactl-widget work with non-English locale
2023-11-19 14:19:32 -05:00
streetturtle
c0abbbf3ad
Merge pull request #416 from Luka5W/master
...
volume-widget: added arguments, fixed colors for light themes
2023-11-19 14:15:35 -05:00
streetturtle
d98fb49135
Merge pull request #417 from Luka5W/luka5w-calendar
...
calendar-widget: added option to show week numbers, possible fix for #316
2023-11-19 14:00:21 -05:00
streetturtle
cd2fdbeca1
Merge pull request #425 from anio/patch-1
...
Fixed issue #424 : Huston warning on fully charged battery
2023-11-19 13:50:56 -05:00
streetturtle
3201c81197
Merge pull request #422 from nuno-silva/warnings
...
fix CI warnings
2023-11-19 13:50:09 -05:00
streetturtle
9a5003dc58
Merge pull request #421 from nuno-silva/si
...
fix SI/IEC prefixes
2023-11-19 13:41:14 -05:00
ali
17f9ef03ea
Fixed issue #424 : Huston warning on fully charged battery
2023-11-19 17:11:34 +01:00
Nuno Silva
e791743eaf
fix CI warnings
...
from https://github.com/streetturtle/awesome-wm-widgets/actions/runs/6915243510/job/18813967822?pr=421
2023-11-18 18:17:55 +00:00
Nuno Silva
2717d15af5
fix SI prefixes
...
- lower 'm' is milli, not mega
- lower 'g' is unassigned
- 'G' is 10^9, 'Gi' is 2^30
see https://en.wikipedia.org/wiki/Metric_prefix
2023-11-18 17:08:39 +00:00
streetturtle
a878abaa68
Merge pull request #420 from Alucard2169/master
...
Fixed import instructions for pacman-widget
2023-11-03 23:03:50 -04:00
Alucard
ed897d43f9
Update README.md
2023-11-01 03:40:36 +00:00
streetturtle
4381a89ee0
Merge pull request #402 from eylles/hide-logout-on-mouse-leave
...
add hide on leave feature
2023-10-16 18:19:29 -04:00
eylles
4b048254e4
Merge branch 'master' into hide-logout-on-mouse-leave
2023-10-13 04:56:06 -06:00
Luka5W
3fcb00cacd
added option to show week numbers, possible fix for #316
2023-10-08 18:07:10 +00:00
Luka5W
782f27168d
Merge remote-tracking branch 'origin/luka5w-calendar' into luka5w-calendar
...
# Conflicts:
# calendar-widget/calendar.lua
2023-10-08 18:06:12 +00:00
Luka5W
cdcb543c86
added option to show week numbers, possible fix for #316
2023-10-08 18:05:20 +00:00
Luka5W
5a340913ee
added option to show week numbers, possible fix for #316
2023-10-08 17:46:18 +00:00
Luka5W
7ebd572f8b
code cleanup
2023-10-07 21:52:14 +00:00
Luka5W
c76ea14833
bugfix: volume level was not displayed correctly
2023-10-07 21:50:02 +00:00
Luka5W
390f501e52
added info about alternative toggle_command
2023-10-07 20:47:23 +00:00