Made wfetch ble to run on other computers that don't have the usernamw "koffeejava"

This commit is contained in:
koffeejava
2026-03-12 21:30:08 -06:00
parent c5b8328bfc
commit a84b7033dc

View File

@@ -42,7 +42,7 @@ module Wfetch
config = TOML.parse(File.read("/home/koffeejava/.local/share/Wfetch/config.toml")) config = TOML.parse(File.read(Path["~/.local/share/Wfetch/config.toml"].expand(home: true)))
city = config["city"] city = config["city"]
api_key = config["api"] api_key = config["api"]
@@ -77,7 +77,7 @@ module Wfetch
windchill_c = data["current"]["windchill_c"] windchill_c = data["current"]["windchill_c"]
id = data["current"]["condition"]["code"] id = data["current"]["condition"]["code"]
disp = TOML.parse(File.read("/home/koffeejava/.local/share/Wfetch/disp.toml")) disp = TOML.parse(File.read(Path["~/.local/share/Wfetch/disp.toml"].expand(home: true)))
repeat = 1 repeat = 1