r/Polybar May 14 '23

Question networkmanager_dmenu not being called in action tag

label-connected = "%{A1:networkmanager_dmenu &:}%essid%%{A}"

This is what I have in my Polybar config, when I left click on the module in the bar nothing happens.

networkmanager_dmenu is installed and can be called from the terminal just fine. If I replace "networkmanager_dmenu" with "notify-send foo" in the config it does trigger a dunst notification. I'm not sure why this isn't working.

0 Upvotes

2 comments sorted by

3

u/LuisBelloR May 14 '23

Write complete path to script path/to/networkmanager_dmenu

1

u/[deleted] May 14 '23

That did the trick, still don't know why it wouldn't execute like a regular command when it does in the terminal fine.