tdrop icon indicating copy to clipboard operation
tdrop copied to clipboard

Using absolute path in command

Open wedens opened this issue 7 years ago • 2 comments

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?

wedens avatar Dec 29 '18 08:12 wedens

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

noctuid avatar Dec 29 '18 13:12 noctuid

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).

wedens avatar Dec 29 '18 14:12 wedens