44 lines
1005 B
Plaintext
44 lines
1005 B
Plaintext
let C = ./config.dhall
|
|
|
|
let memory =
|
|
C.ModType.memory
|
|
C.Memory::{
|
|
, show_stats = False
|
|
, show_swap = False
|
|
, show_plot = True
|
|
, table_rows = 3
|
|
}
|
|
|
|
let processor =
|
|
C.ModType.processor
|
|
C.Processor::{
|
|
, core_rows = 0
|
|
, core_padding = 0
|
|
, show_stats = False
|
|
, show_plot = True
|
|
, table_rows = 3
|
|
}
|
|
|
|
let layout =
|
|
{ anchor = { x = 12, y = 11 }
|
|
, panels =
|
|
[ C.Panel.PPanel
|
|
{ columns =
|
|
[ C.Column.CCol
|
|
{ blocks =
|
|
[ C.mod (C.ModType.network C.Network::{=})
|
|
, C.Block.Pad 10
|
|
, C.mod memory
|
|
, C.Block.Pad 10
|
|
, C.mod processor
|
|
]
|
|
, width = 436
|
|
}
|
|
]
|
|
, margins = { x = 20, y = 10 }
|
|
}
|
|
]
|
|
}
|
|
|
|
in C.toConfig 1 1920 1080 C.Theme::{=} layout
|