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

Set WM_CLASSNAME #869

Open
nPHYN1T3 opened this issue Jan 7, 2024 · 0 comments
Open

Set WM_CLASSNAME #869

nPHYN1T3 opened this issue Jan 7, 2024 · 0 comments

Comments

@nPHYN1T3
Copy link

nPHYN1T3 commented Jan 7, 2024

Is your feature request related to a problem? Please describe.
Can't launch with class name to differentiate instances.

Describe the solution you'd like
I'd like something like -c --class so you can launch with identifiers for easier wmctrl manipulation.
terminator -l left -c "left" &
terminator -l right -c "right" &
DISPLAY=:0.1 wmctrl -ir $(DISPLAY=:0.1 wmctrl -lx | grep -i "terminator.right" | awk '{print $1}') -e 0,3840,0,1280,1080
DISPLAY=:0.1 wmctrl -ir $(DISPLAY=:0.1 wmctrl -lx | grep -i "terminator.left" | awk '{print $1}') -e 0,0,0,1920,1080

Describe alternatives you've considered
I tried xprop? heh

Additional context
Add any other context or screenshots about the feature request here.
I suppose you can cheese it with the -T option?

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