From d7f4e6cdc9693e58733f67168a1fe84f0c805507 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Wed, 14 Dec 2022 12:55:45 -0700 Subject: Rewrite xmobar-weather in Haskell. This adds a new binary that replaces the jenky Perl weather script. In addition this switches the weather source to wttr.in. Before it would always pull the weather from the same weather station, which is not what I want. --- package.yaml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'package.yaml') diff --git a/package.yaml b/package.yaml index 07a09df..81ba046 100644 --- a/package.yaml +++ b/package.yaml @@ -6,6 +6,10 @@ executables: main: Main.hs source-dirs: src + xmobar-weather: + main: Main.hs + source-dirs: xmobar/extras/weather/src + ghc-options: - -XBangPatterns - -XDataKinds @@ -44,3 +48,6 @@ dependencies: - linear - time - prettyprinter + - aeson + - curl + - text -- cgit