Tells your systems Polybar some information about the current game state in RuneLite
[module/runelite]
type = custom/ipc
hook-0 = test -e /tmp/rl_state && cat /tmp/rl_state
initial = 1
The plugin makes use of Polybars IPC feature. Every implemented game state is written out to the file /tmp/rl_state
. Using polybar-msg, every instance of Polybar will then be triggered to execute the customizable hook, which should be configured appropiately to read /tmp/rl_state
(see example config)
https://github.com/polybar/polybar
https://wiki.archlinux.org/index.php/Polybar
https://polybar.github.io/