Weather script changes.

This commit is contained in:
kat witch 2021-02-13 01:46:28 +00:00 committed by kat
parent 0257ccd90a
commit 0db7375055
2 changed files with 7 additions and 6 deletions

View file

@ -30,6 +30,7 @@ in {
"custom/weather" = {
format = "{}";
interval = 3600;
on-click = "xdg-open 'https://google.com/search?q=weather'";
exec = "nix-shell --command 'python ${
../../../scripts/weather.py
} ${secrets.profiles.sway.city} ${secrets.profiles.sway.api_key}' ${