From 4dfc2e8c4c2cfa26add594bc1e6cdc4c050b7aab Mon Sep 17 00:00:00 2001 From: Schweber <64630479+Schweber@users.noreply.github.com> Date: Mon, 15 Jan 2024 10:56:54 +0100 Subject: [PATCH] Minor fixes --- Makefile | 2 +- README.md | 8 ++++---- hdrop.1.scd | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index b762d50..6046e93 100755 --- a/Makefile +++ b/Makefile @@ -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)" diff --git a/README.md b/README.md index 1864bec..f77d1f5 100755 --- a/README.md +++ b/README.md @@ -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. @@ -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) @@ -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 diff --git a/hdrop.1.scd b/hdrop.1.scd index b4d4842..ac01c76 100755 --- a/hdrop.1.scd +++ b/hdrop.1.scd @@ -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