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

Detect WM with $XDG_CURRENT_DESKTOP ? #119

Open
nazarewk opened this issue Apr 24, 2024 · 1 comment
Open

Detect WM with $XDG_CURRENT_DESKTOP ? #119

nazarewk opened this issue Apr 24, 2024 · 1 comment

Comments

@nazarewk
Copy link

it would be useful for drawer to detect default -wm value with XDG_CURRENT_DESKTOP

@nwg-piotr
Copy link
Owner

Well, this code was contributed, and personally I'd do it a different way: add a boolean flag to force running commands through the compositor, then detect the compositor in use and select swaymsg exec or hyprctl dispatch exec (or another command for another compositor) accordingly. Unfortunately I didn't think about it while accepting the PR. Changing the way it works right now would result in breaking users' configs, so it needs to have a strong justification.

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