mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-09 17:52:36 +08:00
Disable CPU widget, and ensure using latest version
This commit is contained in:
parent
0990e98c36
commit
94ce3c2c2c
2 changed files with 7 additions and 3 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue