Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Schweber committed Jan 15, 2024
1 parent 528e8b4 commit 4dfc2e8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ all: hdrop.1
hdrop.1: hdrop.1.scd
scdoc < $< > $@

install:
install: hdrop.1 hdrop
@install -v -D -m 0644 hdrop.1 --target-directory "$(MAN1DIR)"
@install -v -D -m 0755 hdrop --target-directory "$(BINDIR)"

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ This Bash script emulates the main features of [tdrop](https://github.com/noctui
#### Options:

> -b, --background
> Changes the default behaviour: if the specified program is not running, launch it in the background instead of in the foreground. Thereafter 'hdrop -b' will work the same as without this flag.
> Changes the default behaviour: if the specified program is not running, launch it in the background instead of in the foreground. Thereafter `hdrop -b` will work the same as without this flag.
>
> -c, --class
> Set classname of the program to be run. Use this if the classname is different from the name of the [COMMAND] and hdrop has not yet a hardcoded replacement.
> Set classname of the program to be run. Use this if the classname is different from the name of the [COMMAND] and hdrop does not have a hardcoded replacement.
>
> -i, --insensitive
> Case insensitive partial matching of class names. Can work as a stopgap if a running program is not recognized and a new instance is launched instead. Note: incorrect matches may occur, adding a special handling of the program to hdrop (hardcoded or via `-c, --class`) is preferable.
Expand All @@ -37,7 +37,7 @@ This Bash script emulates the main features of [tdrop](https://github.com/noctui
#### Multiple instances:

Multiple instances of the same program can be run concurrently, if different class names are assigned to each instance. Presently there is support for the following flags in the [COMMAND] string:
Multiple instances of the same program can be run concurrently, if different class names are assigned to each instance. Presently, there is support for the following flags in the [COMMAND] string:

> `-a` ([foot](https://codeberg.org/dnkl/foot/) terminal emulator)
> `--class` (all other programs)
Expand All @@ -62,7 +62,7 @@ If hdrop can't match an already running program and starts a new instance instea

Run `hdrop -v [COMMAND]` _in the terminal_ to see maximum output for troubleshooting and find out the actual class name. Then use `hdrop -c CLASSNAME` to make it work. `hdrop -i [COMMAND]` might be sufficient, as long as a case insensitive (partial) match is sufficient.

Please report instances of programs with differing class names, so that i can add them to `hdrop`.
Please report instances of programs with differing class names, so that they can be added to `hdrop`.

## Installation

Expand Down
2 changes: 1 addition & 1 deletion hdrop.1.scd
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ If hdrop can't match an already running program and starts a new instance instea

Run *hdrop -v [COMMAND]* _in the terminal_ to see maximum output for troubleshooting and find out the actual class name. Then use *hdrop -c CLASSNAME* to make it work. *hdrop -i [COMMAND]* might be sufficient, as long as a case insensitive (partial) match is sufficient.

Please report instances of programs with differing class names, so that i can add them to *hdrop*.
Please report instances of programs with differing class names, so that they can be added to *hdrop*.

# License

Expand Down

0 comments on commit 4dfc2e8

Please sign in to comment.