mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 10:20:12 +01:00
minor tweaks
This commit is contained in:
parent
d0ce916b6a
commit
86aa6c9357
@ -1,6 +1,7 @@
|
||||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
# From https://raw.githubusercontent.com/rxyhn/dotfiles/main/home/rxyhn/modules/desktop/waybar/scripts/waybar-wttr.py
|
||||
|
||||
city = ""
|
||||
import json
|
||||
import requests
|
||||
from datetime import datetime
|
||||
@ -59,7 +60,7 @@ WEATHER_CODES = {
|
||||
data = {}
|
||||
|
||||
|
||||
weather = requests.get("https://wttr.in/?format=j1").json()
|
||||
weather = requests.get("https://wttr.in/{city}?format=j1").json()
|
||||
|
||||
|
||||
def format_time(time):
|
||||
|
||||
@ -75,6 +75,7 @@ dependencies=(
|
||||
libxxhash-dev
|
||||
meson
|
||||
ninja-build
|
||||
openssl
|
||||
psmisc
|
||||
python3-mako
|
||||
python3-markdown
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user