Hyprland not autostarting apps in tray

I set antimicrox and qbittorrent to autostart and they have start in tray on but on login they start in windows and quit on close not close to tray

8 points · 2 comments · view on lemmy.world

2 Comments

smileyhead@discuss.tchncs.de · 3 pts · 2y (1 reply)

This is a bug in Waybar, which I suppose you are using. When app create tray icon before Waybar finish launching it is not shown.

Create a script like autostart.sh, start waybar there, then do like 5 second delay and start apps that has tray icons.

lenan@sh.itjust.works · 2 pts · 2y

or just slap a "sleep 5 &&" in front of the command in your hyprland config. e.g. "exec-once= sleep 5 && qbittorrent"