Polybar not correctly resetting in BSPWM

My current set up shows a tray icon (in polybar) for dropbox, redshift, firewall, and networks.

When I reboot BSPWM (super+alt+r), I now have two tray icons for redshift and firewall. Rebooting BSPWM again, I now have three tray icons for redshift and firewall.

In launch.sh for polybar, killall -q polybar does not kill the existing redshift-gtk and firewall-applet processes.

Ok. I found an answer in another post here.

I’ve added these two lines to .config/polybar/launch.sh

killall -q redshift-gtk
killall -q firewall-applet

It’s not an elegant solution, but it does the trick.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.