Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] System tray cannot show up in waybar if it's specified in sway conf #298

Closed
IceAsteroid opened this issue Aug 22, 2023 · 2 comments
Closed

Comments

@IceAsteroid
Copy link

IceAsteroid commented Aug 22, 2023

It works by being launched in a terminal, the system tray appears in waybar without any issue, but if I specify it in sway conf, such as follows:

exec_always "pkill cmst; cmst -m"

cmst's tray weirdly doesn't show up in waybar, but instead is running in background.

If I then execute cmst in a terminal, the cmst interface will be launched, and the output in terminal will complain "Another running instance of CMST has been detected. This instance is aborting".

sway version: 1.8.1
waybar version: v0.9.20
cmst version: 2023.03.14-1

Running in voidlinux.

Any ideas?

@IceAsteroid IceAsteroid changed the title System tray cannot show up in waybar if it's specified in sway conf [Bug] System tray cannot show up in waybar if it's specified in sway conf Sep 6, 2023
@oniGino
Copy link

oniGino commented Feb 3, 2024

sounds like waybar is being launched after cmst, that might be the source of the issue, try

exec_always "pkill cmst; sleep 10; cmst -m" to verify

either that or your exec environment under sway is missing some ENV variables to let QT know its running under wayland not X

@IceAsteroid
Copy link
Author

@oniGino
It works, oh my god, thank you so much for the help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants