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

Using wmfocus to kill applications? #10

Closed
xpenguinclub opened this issue Jan 6, 2019 · 3 comments
Closed

Using wmfocus to kill applications? #10

xpenguinclub opened this issue Jan 6, 2019 · 3 comments

Comments

@xpenguinclub
Copy link

Hello,

I have come to wmfocus from i3-easy focus, i mostly use it to kill things. using i3-focus i can the the following

 i3-easyfocus | xargs xkill -id

however when i try to swap out i3-easy-focus for wmfocus i get the error 'xkill requires an argument'

I am not a coder and have no idea how to resolve this but give that both applications perform the same job i assumed that it could be used as a drop in replacement for this, am i doing something wrong or has this function not yet been added?

thank you for your help.

@svenstaro
Copy link
Owner

This should be supported already! Try the -p option.

@xpenguinclub
Copy link
Author

nope...
wmfocus -p | xargs xkill -id
returns
xkill: invalid id "94191216841648"

@svenstaro
Copy link
Owner

Ok this is now fixed in release 1.1.1. It should now work as you'd expect.

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