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

Improve way to get active window (works on archlinux) #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ulukyn
Copy link

@ulukyn ulukyn commented Sep 19, 2023

Hi,

On my system (endeavourOS a arch-based distrib) the command :
xprop -root _NET_ACTIVE_WINDOW

return
_NET_ACTIVE_WINDOW(WINDOW): window id # 0x280000b, 0x0

Btw, id are not parsed correctly.

So i used this other way. Not the best (better using a regex) but works in both cases

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.

1 participant