mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2025-09-07 20:01:40 +02:00
do some moving
This commit is contained in:
parent
9379b9c61b
commit
49298541e5
40 changed files with 13 additions and 16 deletions
23
modules/de/home/eww/configDir/topBar/sysinfo.yuck
Normal file
23
modules/de/home/eww/configDir/topBar/sysinfo.yuck
Normal file
|
@ -0,0 +1,23 @@
|
|||
(deflisten bat
|
||||
:initial "<span foreground=\"#cc241d\">BAT0 ERR</span>"
|
||||
{ "~/.config/eww/scripts/bat.nu auto"}
|
||||
)
|
||||
|
||||
(defwidget cpu []
|
||||
(box
|
||||
:class "cpuIndicator"
|
||||
(label
|
||||
:markup "<span foreground=\"#d65d0e\"></span> ${strlength(round(EWW_CPU.avg, 0)) == 1 ? " ${round(EWW_CPU.avg, 0)}" : round(EWW_CPU.avg, 0)}<span foreground=\"#7c6f64\">%</span>"
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
(defwidget mem []
|
||||
(box
|
||||
:class "memIndicator"
|
||||
(label
|
||||
:markup "<span foreground=\"#d65d0e\"> </span> ${round(EWW_RAM.used_mem_perc, 0)}<span foreground=\"#7c6f64\">%</span>"
|
||||
)
|
||||
)
|
||||
)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue