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 absolute path in command #53

Open
wedens opened this issue Dec 29, 2018 · 2 comments
Open

Using absolute path in command #53

wedens opened this issue Dec 29, 2018 · 2 comments
Milestone

Comments

@wedens
Copy link

wedens commented Dec 29, 2018

Seems like tdrop only accepts a command that doesn't contain / and uses command name for some purposes.

Is it possible to avoid using command for some identification purposes and specify some X property instead?

@noctuid
Copy link
Owner

noctuid commented Dec 29, 2018

I could either change it so that only the end of the command is matched or so that you could manually specify the program name to use for identification. Would that do what you want? What do you mean by "specify some X property instead"? Could you give an example?

Edit:

  • Split program variable into program and program_name; program_name is used for identification, specific program checks, etc.; program is what runs
  • Allow manually specifying; default to basename if absolute path

@wedens
Copy link
Author

wedens commented Dec 29, 2018

Could you give an example?

For example, the first component of WM_CLASS property or WM_ROLE or WM_NAME.

Would that do what you want?

Yeah. I like the second option more (manually specified program name).

@noctuid noctuid added this to the 0.6.0 milestone Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants