Open JonAnderBeroz opened 8 months ago
how do you style? can you give some documentation?
how do you style? can you give some documentation?
you can do this by having a custom widget
in the config.yaml
shutdown:
type: "yasb.custom.CustomWidget"
options:
label: "\uf011"
label_alt: "\uf011"
class_name: "shutdown-button"
callbacks:
on_left: "exec cmd /c shutdown /s /t 5"
this shuts down your computer by clicking on it, but i suggest putting the callback as on_right
instead of on_left
to avoid accidents
Widget to be able to shutdown , restart or lock the computer