Made wfetch ble to run on other computers that don't have the usernamw "koffeejava"
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user