Skip to content

waybar-menu: menu-file path is not expanded #3490

@jlebras

Description

@jlebras

Hello, new user of waybar there, thank you for your work !

I followed the documentation about waybar menu configuration but somehow was unable to display a menu when clicking (actually waybar segfaults).

After digging the logs, I found that waybar could not find the xml file describing the menu as a GtkBuilder.
The path used was identical to the one from the doc (~/.config/waybar/power_menu.xml), I tried with $HOME and same thing.

The waybar log shows the path "as-is" without path expansion so I guess there is no expansion at all on the string provided.
After providing a full path it worked.

I looked quickly at the code and the file is opened there without any processing of the path from the config.

I don't know if it's a bug or intended behaviour (could be handy though).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions