Alexays / Waybar

Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:
MIT License
6.29k stars 689 forks source link

output in custom module is not visible #1300

Open tobip opened 2 years ago

tobip commented 2 years ago

I have this custom module where the exec command should print one line per second:

    "custom/diskio": {
        "format": " D {} ",
        "exec": "dstat -d --nocolor | awk '{print $1,$2}'"
    },

It works in the shell, but it doesn't show anything in the waybar.

Changing the module to this is a not very satisfying workaround:

    "custom/diskio": {
        "format": " D {} ",
        "exec": "dstat -d --nocolor 1 2 | awk '{print $1,$2}'",
        "restart-interval": 1
    },

Do I have to change the way I wrote the module or is it an issue in waybar?

ingenarel commented 2 months ago

have you found any solutions yet?

tobip commented 2 months ago

Actually I did not find the time to look into it...