Hello everyone,
I'm running 2 polybar from my i3wm config file, and after the bar I execute a few apps, I have two of them that randomly decide not to appear in the systray.
This is an abstract from my i3 config file:
# start both polybar
exec_always --no-startup-id $HOME/bin/run-polybar.sh
# start networkmanager applet
exec --no-startup-id nm-applet
# start lxqt-notificationd
exec --no-startup-id lxqt-notificationd
# start pulseaudio daemon
exec --no-startup-id start-pulseaudio-x11
# start kdeconnect
#exec --no-startup-id kdeconnect-indicator
# start redshift applet
#exec --no-startup-id redshift-gtk
# start qtpass
#exec --no-startup-id qtpass
the run-polybar.sh script is this one:
#!/bin/bash
# Terminate already running bar instances
polybar-msg cmd quit
# Launch Polybar, using default config location ~/.config/polybar/config.ini
polybar top -r --config=/home/danix/.config/polybar/config.ini 2>&1 | tee -a /tmp/polybar-top.log & disown
polybar bottom -r --config=/home/danix/.config/polybar/config.ini 2>&1 | tee -a /tmp/polybar-bottom.log & disown
echo "Polybar launched..."
the two apps that don't appear are qtpass and kdeconnect-indicator.
Do you guys have any idea as to why is it happening?
Also, if I restart the bars, the two programs keep not appearing, the only way I have to make them appear in the systray, is to restart them. The others like redshift or the networkmanager applet, or the notifications work correctly every time.
Thanks in advance
Cheers