2022-08-11 00:05:06 -04:00
|
|
|
let C = ./config.dhall
|
|
|
|
|
2022-08-12 00:20:01 -04:00
|
|
|
let memory =
|
|
|
|
C.ModType.memory
|
2022-08-15 23:23:15 -04:00
|
|
|
C.Memory::{
|
|
|
|
, show_stats = False
|
2022-08-12 00:20:01 -04:00
|
|
|
, show_swap = False
|
|
|
|
, show_plot = True
|
|
|
|
, table_rows = 3
|
|
|
|
}
|
|
|
|
|
|
|
|
let processor =
|
|
|
|
C.ModType.processor
|
2022-08-15 23:23:15 -04:00
|
|
|
C.Processor::{
|
|
|
|
, core_rows = 0
|
2022-08-12 00:20:01 -04:00
|
|
|
, core_padding = 0
|
|
|
|
, show_stats = False
|
|
|
|
, show_plot = True
|
|
|
|
, table_rows = 3
|
|
|
|
}
|
|
|
|
|
2022-08-11 00:05:06 -04:00
|
|
|
let layout =
|
2022-08-12 00:20:01 -04:00
|
|
|
{ anchor = { x = 12, y = 11 }
|
|
|
|
, panels =
|
|
|
|
[ C.Panel.PPanel
|
|
|
|
{ columns =
|
|
|
|
[ C.Column.CCol
|
|
|
|
{ blocks =
|
2022-08-15 23:23:15 -04:00
|
|
|
[ C.mod (C.ModType.network C.Network::{=})
|
2022-08-12 00:20:01 -04:00
|
|
|
, C.Block.Pad 10
|
|
|
|
, C.mod memory
|
|
|
|
, C.Block.Pad 10
|
|
|
|
, C.mod processor
|
2022-08-11 00:27:16 -04:00
|
|
|
]
|
2022-08-12 00:20:01 -04:00
|
|
|
, width = 436
|
2022-08-11 00:27:16 -04:00
|
|
|
}
|
2022-08-11 00:05:06 -04:00
|
|
|
]
|
2022-08-12 00:20:01 -04:00
|
|
|
, margins = { x = 20, y = 10 }
|
|
|
|
}
|
|
|
|
]
|
2022-08-11 00:05:06 -04:00
|
|
|
}
|
|
|
|
|
2022-08-12 00:20:01 -04:00
|
|
|
in C.toConfig 1 1920 1080 C.Theme::{=} layout
|