cpu widget
This commit is contained in:
parent
ebcdd6f786
commit
982d45de9d
@ -1,5 +1,5 @@
|
|||||||
# TODO
|
# TODO
|
||||||
- [ ] more widgets
|
- [ ] more widgets - num+CAPS
|
||||||
- [ ] popup
|
- [ ] popup
|
||||||
- [ ] notifications - dunst
|
- [ ] notifications - dunst
|
||||||
- [ ] borders and separation of colors
|
- [ ] borders and separation of colors
|
||||||
|
|||||||
10
config.py
10
config.py
@ -222,11 +222,17 @@ vpn = widget.GenPollCommand(
|
|||||||
)
|
)
|
||||||
|
|
||||||
ram = widget.Memory(
|
ram = widget.Memory(
|
||||||
format = " {MemFree:.0f} {SwapFree:.0f} ",
|
format = " {MemFree:.0f} {SwapFree:.0f}",
|
||||||
mouse_callbacks={"Button1":lazy.spawn("alacritty --class float -e btop ")},
|
mouse_callbacks={"Button1":lazy.spawn("alacritty --class float -e btop ")},
|
||||||
background=colors[6],
|
background=colors[6],
|
||||||
mesure_mem="M",
|
mesure_mem="M",
|
||||||
mesure_swap="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,
|
**rounded_right,
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -264,6 +270,7 @@ screens = [
|
|||||||
wifi,
|
wifi,
|
||||||
vpn,
|
vpn,
|
||||||
ram,
|
ram,
|
||||||
|
cpu,
|
||||||
battery,
|
battery,
|
||||||
clock,
|
clock,
|
||||||
], 30,
|
], 30,
|
||||||
@ -287,6 +294,7 @@ screens = [
|
|||||||
wifi,
|
wifi,
|
||||||
vpn,
|
vpn,
|
||||||
ram,
|
ram,
|
||||||
|
cpu,
|
||||||
battery,
|
battery,
|
||||||
clock,
|
clock,
|
||||||
], 30,
|
], 30,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user