Add back files from before, I'll just deactivate them going forward

This commit is contained in:
Jimbo 2024-09-19 23:22:58 -04:00
parent 294e8ef57f
commit 1ffd3cf5e9
4 changed files with 47 additions and 1 deletions

View file

@ -218,7 +218,7 @@
'';
in pkgs.writeScript "weatherScript" ''
# Fetch weather data
fetch=$(fastfetch -c ${weatherConf})
fetch=$(fastfetch -c ${weatherConf} | sed 's/[[:space:]]*$//')
temp=$(echo "$fetch" | sed -n '2s/^\+//p')
condition=$(echo "$fetch" | sed -n '3p')
location=$(echo "$fetch" | sed -n '4p')