Waybar icon indicating copy to clipboard operation
Waybar copied to clipboard

use parameter in waybar/config for custom module ?

Open guyuming76 opened this issue 3 years ago • 0 comments

i use waybar in dwl with (https://codeberg.org/fauxmight/waybar-dwl/src/branch/main/waybar-dwl.sh).

the script use waybar custom modules;

the problem is , the script hardcodes the file name /path/to/waybar-dwl.sh in ~/.config/waybar/config.

If i run multiple instances of dwl, i need multiple ~/.cache/dwltags file name, for example, i may use the pid of waybar in filename: ~/.cache/dwltags_waybarPID.

So, in ~/.config/waybar/config, i need to pass something like PID to /path/to/waybar-dwl.sh, is it possible to do this? how ?

guyuming76 avatar Apr 30 '22 08:04 guyuming76