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

Hyprland: Failed to get primary monitor from GTK #6

Open
mystilleef opened this issue Oct 1, 2022 · 4 comments
Open

Hyprland: Failed to get primary monitor from GTK #6

mystilleef opened this issue Oct 1, 2022 · 4 comments

Comments

@mystilleef
Copy link

I get the following error when I try to run this in hyprland with wayland.

Failed to get primary monitor from GTK. Try explicitly specifying the monitor on your window.

Do you have any idea on how to resolve this?

@vinhig
Copy link

vinhig commented Oct 11, 2022

Add :monitor 0 in defwindow bar. That should do the trick (at least it did for me 30s ago).

@feschber
Copy link

For me on sway, the main window covers all of the other widgets. Did that work for you @mystilleef @vinhig?

@feschber
Copy link

never mind, I figured it out: Had to put main at the end of the list.

@CRAG666
Copy link

CRAG666 commented Jul 27, 2023

@ferdinandschober how did you do that i still have problems with those widgets

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

4 participants