cpu widget

This commit is contained in:
ggodot 2024-12-25 01:38:25 +01:00
parent ebcdd6f786
commit 982d45de9d
2 changed files with 10 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# TODO
- [ ] more widgets
- [ ] more widgets - num+CAPS
- [ ] popup
- [ ] notifications - dunst
- [ ] borders and separation of colors

View File

@ -227,6 +227,12 @@ ram = widget.Memory(
background=colors[6],
mesure_mem="M",
mesure_swap="M",
)
cpu = widget.CPU(
format = "{load_percent}% ",
mouse_callbacks={"Button1":lazy.spawn("alacritty --class float -e btop ")},
background=colors[6],
**rounded_right,
)
@ -264,6 +270,7 @@ screens = [
wifi,
vpn,
ram,
cpu,
battery,
clock,
], 30,
@ -287,6 +294,7 @@ screens = [
wifi,
vpn,
ram,
cpu,
battery,
clock,
], 30,