Closed p0ryae closed 2 years ago
Can you please post your scripts and polybar config?
These are the lines in the script where you need to mention the name of the bar containing the modules. So make sure that the correct name is present in the script.
The script then fetches the PID of that bar and callsupdate_hooks
to update the icons. You can also try to echo this and verify whether the correct PID is being fetched.
And when I run it in terminal:
Pretty sure its catching it.
My polybar config: https://sourceb.in/n0WPjmomMC
Can you also try to call the update_hooks
externally with the PID you showed?
Just source this function and then try running the following in your shell.
update_hooks <pid> 1
update_hooks <pid> 2
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I have
enable-ipc = true
in my bar config - I expect the play button turn into the opposite when I'm clicking but it doesn't. It's always on 1 specific icon no matter what