diff --git a/xmobar.hs b/xmobar.hs index 88a697b..90f54d3 100644 --- a/xmobar.hs +++ b/xmobar.hs @@ -8,15 +8,14 @@ config = bgColor = "#121212", fgColor = "#cccccc", position = Top, - template = " %XMonadLog% }{ %volume% | %load% | %battery% | %date% ", + template = " %XMonadLog% }{ %weather% | %volume% | %load% | %battery% | %date% ", commands = [ Run XMonadLog, - Run $ Com "monitors" ["battery"] "battery" 1200, - Run $ Com "monitors" ["cpu"] "cpu" 100, - Run $ Com "monitors" ["memory"] "memory" 100, - Run $ Com "monitors" ["load"] "load" 100, Run $ PipeReader "/tmp/pipe-volume" "volume", - Run $ Date "%m/%d/%Y %-I:%M %p" "date" 600 + Run $ Com "monitors" ["load"] "load" 100, + Run $ PipeReader "/tmp/pipe-weather" "weather", + Run $ Com "monitors" ["battery"] "battery" 1200, + Run $ Date "%m/%d/%Y %H:%M" "date" 600 ] } diff --git a/xmonad-frosty.cabal b/xmonad-frosty.cabal index fa9a55c..beb8aea 100644 --- a/xmonad-frosty.cabal +++ b/xmonad-frosty.cabal @@ -28,29 +28,3 @@ executable xmobar default-language: GHC2021 default-extensions: ImportQualifiedPost - -executable xmobar-top - main-is: xmobar-top.hs - ghc-options: - -O2 -Wall -Wcompat -Wincomplete-record-updates - -Wredundant-constraints -rtsopts -threaded -with-rtsopts=-N - - build-depends: - , base - , xmobar >=0.48 - - default-language: GHC2021 - default-extensions: ImportQualifiedPost - -executable xmobar-bottom - main-is: xmobar-bottom.hs - ghc-options: - -O2 -Wall -Wcompat -Wincomplete-record-updates - -Wredundant-constraints -rtsopts -threaded -with-rtsopts=-N - - build-depends: - , base - , xmobar >=0.48 - - default-language: GHC2021 - default-extensions: ImportQualifiedPost