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

enhancement: Add support for listing monitors in hyprland using hyprctl #46

Merged

Conversation

nikolaizombie1
Copy link
Contributor

As mentioned in point 1 in this comment, the listing of monitors for hyprland needed to be independent of sww and sww-daemon. This pull request separates the querying for monitors for hyprland from sww and solely utilizes hyprctl to get the monitor names. This was done by calling hyprctl monitors and extracting the monitor names with the help of the standard library re module. A small rework for how the monitors combo-box is displayed was done to avoid duplicating the function calls in the hyprpaper backend.

@anufrievroman
Copy link
Owner

Thank you, I'll take a look tomorrow.

@anufrievroman anufrievroman merged commit 2745296 into anufrievroman:main May 23, 2024
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

Successfully merging this pull request may close these issues.

2 participants