yasb icon indicating copy to clipboard operation
yasb copied to clipboard

[BUG] Battery widget won't allow icon changes

Open watatomo opened this issue 2 years ago • 0 comments

Expected Behavior

Battery status icon should change.

Current Behavior

YASB doesn't display the battery widget and won't respond to click gestures.

Steps to Reproduce

  1. Add status_icons to config.yml.
widgets:
    battery:
        type: "yasb.battery.BatteryWidget"
        options:
            time_remaining_natural: true
            label: "{icon} {percent}"
            label_alt: "remaining: {time_remaining}"
            update_interval: 1000
            charging_options:
                icon_format: "{icon}"
                blink_charging_icon: false
            status_thresholds:
                critical: 10
                low: 30
                medium: 60
                high: 80
                full: 100
            status_icons:
                charging: "\uf583"
                critical: "\uf579"
                low: "\uf57b"
                medium: "\uf57e"
                high: "\uf580"
                full: "\uf578"
            callbacks:
                on_left: "toggle_label"
                on_middle: "do_nothing"
                on_right: "do_nothing"

Context (Environment)

Log: yasb.log Config: config.yml Running on Windows 11 22H2.

watatomo avatar Jul 16 '22 11:07 watatomo