We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
%pid%
Expected behavior: Using the %pid% token multiple times in the same hook command or click action should replace all tokens.
Actual behavior:
Only the first instance of %pid% in any hook command or click actions is replaced.
Was it working before?
Seems to have always been like this.
[bar/example] modules-left = ipctest enable-ipc = true [module/ipctest] type = custom/ipc hook-0 = echo "%pid% %pid%" initial = 1
polybar -vvv
polybar 3.5.6-118-gc65f6857 Features: +alsa +curl +i3 +mpd +network(libnl) +pulseaudio +xkeyboard X extensions: +randr (+monitors) +composite +xkb +xrm +xcursor Build type: Release Compiler: /usr/bin/c++ Compiler flags: -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -Wextra -Wpedantic -Wsuggest-override -O3 -DNDEBUG Linker flags: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
The ipc module just searches for the first instance.
The text was updated successfully, but these errors were encountered:
fix(ipc): Replace all %pid% tokens
3cd61dc
Fixes polybar#2500
a8cba9c
Fixes #2500
patrick96
Successfully merging a pull request may close this issue.
Checklist
guidelines
may have already reported this problem.
Describe the bug
Expected behavior:
Using the
%pid%
token multiple times in the same hook command or click action should replace all tokens.Actual behavior:
Only the first instance of
%pid%
in any hook command or click actions is replaced.Was it working before?
Seems to have always been like this.
To Reproduce
Screenshots
Environment:
polybar -vvv
:Additional context
The ipc module just searches for the first instance.
The text was updated successfully, but these errors were encountered: