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

Should fall back to update-alternatives for detecting WM #811

Open
narinishi opened this issue Jan 26, 2025 · 0 comments
Open

Should fall back to update-alternatives for detecting WM #811

narinishi opened this issue Jan 26, 2025 · 0 comments

Comments

@narinishi
Copy link

The following command can be used on Debian, and certain other distributions:
update-alternatives --list x-window-manager
If successfully executed, this will print the full path to the configured window manager binary.

The current logic for determining the WM based upon process name should be refactored in order to also apply it here. If a match isn't found found, preferably print just the binary name rather than the full path.

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

1 participant