Disable CPU widget, and ensure using latest version

This commit is contained in:
Sridhar Ratnakumar 2021-06-30 11:02:59 -04:00
parent 0990e98c36
commit 94ce3c2c2c
2 changed files with 7 additions and 3 deletions

View file

@ -31,6 +31,8 @@ import System.Taffybar.Widget.Layout
layoutNew,
)
-- FIXME: Too much memory usage, https://github.com/srid/nixos-config/issues/8
main :: IO ()
main = do
-- enableDebugLogging
@ -48,8 +50,8 @@ cfg =
-- scratchW,
-- FIXME: doesn't work
-- menuWidgetNew Nothing,
layoutNew defaultLayoutConfig,
cpuW
layoutNew defaultLayoutConfig
-- cpuW
],
barHeight = 50
}

View file

@ -10,7 +10,9 @@ executable taffybar-srid
main-is: Main.hs
build-depends:
, base
, taffybar
-- Use a version that fixes memory leak,
-- https://github.com/taffybar/taffybar/blob/master/CHANGELOG.md
, taffybar >= 3.2.2
, xmonad
, xmonad-contrib
, xmobar