Skip to content

Commit de02a51

Browse files
committed
sketchybar: more accurate weather usage
1 parent 0b236ca commit de02a51

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • modules/home/programs/graphical/bars/sketchybar/config/items/today

modules/home/programs/graphical/bars/sketchybar/config/items/today/weather.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ weather.temp:subscribe({ "routine", "forced", "system_woke", "weather_update" },
6666
weather.temp:set({ popup = { drawing = false } })
6767

6868
-- Fetch events from calendar
69-
Sbar.exec("wttrbar --fahrenheit --ampm", function(forecast)
69+
Sbar.exec("wttrbar --fahrenheit --ampm --location $(jq '.wttr.location' ~/weather_config.json)", function(forecast)
7070
-- Extract icon and temperature
7171
for i, value in ipairs(STR_SPLIT(forecast.text)) do
7272
-- first part of response is icon

0 commit comments

Comments
 (0)