this post was submitted on 08 Oct 2023
55 points (100.0% liked)
Linux Gaming
15234 readers
52 users here now
Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME
away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.
This page can be subscribed to via RSS.
Original /r/linux_gaming pengwing by uoou.
Resources
WWW:
Discord:
IRC:
Matrix:
Telegram:
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
No, it uses hyprctl to get the pid of the current active window. Which compositor are you using? It might be possible to get the pid in a different way.
Qtile and mutter, I have 2 computers
I'm not familiar with qtile, but I'm fairly sure there's currently no way to get information about the active window on mutter unfortunately.
Thing with wayland is, each compositor has to implement things their own way, so you're limited to what your compositor allows you to do.
For instance, you can get window information in sway with swaymsg. On other compositors you may have to find workarounds.