Skip to content

Commit

Permalink
MAINT: More encryption support
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoZeke committed Jan 30, 2025
1 parent 8317bb9 commit 3f36f37
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dot_config/i3rust/i3_bottom.toml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ format = "$weather ($location) $temp, $wind m/s $direction"
[block.service]
name = "openweathermap"
lang = "en"
{{ if ne .encrypted "no" }}
api_key = "{{ pass "OPENWEATHER_API_KEY" }}"
{{ end }}
city_id = "3413829" # Reykjavík
# city_id = "1267995" # Kanpur
units = "metric"
Expand All @@ -26,7 +28,9 @@ format = "IITK $weather $temp"
[block.service]
name = "openweathermap"
lang = "en"
{{ if ne .encrypted "no" }}
api_key = "{{ pass "OPENWEATHER_API_KEY" }}"
{{ end }}
units = "metric"
# coordinates = ["30.66361594277602","76.72912558319638"] # IISER-M
# coordinates = ["64.140461", "-21.961226"] # Reykjavik
Expand Down

0 comments on commit 3f36f37

Please sign in to comment.