geommer / yabar

A modern and lightweight status bar for X window managers.
MIT License
679 stars 49 forks source link

Internal wifi doesn't show up. #152

Open zeonin opened 7 years ago

zeonin commented 7 years ago

I'm using yabar v0.4.0-145-g0a8d11a on Arch Linux.

With the following test yabar.conf, I expect to see the wifi block aligned on the right, but no block is displayed and no errors are output on the console. With align: "center" or align: "left", the block is displayed.

bar-list = ["topbar"];
topbar:{
    font: "Droid Sans, FontAwesome Bold 9";
    block-list: ["wifi"];
    position: "top";
    height: 20;
        background-color-rgb: 0x000000;
    underline-size: 2;
    overline-size: 2;
    wifi: {
        exec: "YABAR_WIFI";
                align: "right";
        internal-prefix: "  ";
        internal-suffix: " ";
        internal-option1: "wlp4s0";
        variable-size: true;
        underline-color-rgb: 0xA1B56C;
    }
}
jacksgt commented 7 years ago

I can confirm this and it also happens with other blocks, e.g. YABAR_THERMAL. The issue seems to be that the variable-size feature is not working correctly.