From 61c768bc680c6cffd057ec9bd5b78c654add7c0f Mon Sep 17 00:00:00 2001 From: noctuid Date: Wed, 5 Jul 2017 23:56:44 +0900 Subject: [PATCH] Update manpage - Add --wm and --class flags - Rename to tdrop.1 --- Makefile | 2 +- tdrop.groff => tdrop.1 | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) rename tdrop.groff => tdrop.1 (95%) diff --git a/Makefile b/Makefile index 60bd8d5..00b2efe 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ LICENSEDIR = $(PREFIX)/share/licenses install: # 755 is default install -D -m 755 tdrop "$(DESTDIR)$(BINDIR)"/tdrop - install -D -m 644 tdrop.groff "$(DESTDIR)$(MANDIR)"/man1/tdrop.1 + install -D -m 644 tdrop.1 "$(DESTDIR)$(MANDIR)"/man1/tdrop.1 install -D -m 644 LICENSE "$(DESTDIR)$(LICENSEDIR)"/tdrop/LICENSE uninstall: diff --git a/tdrop.groff b/tdrop.1 similarity index 95% rename from tdrop.groff rename to tdrop.1 index 479c204..cba5d73 100644 --- a/tdrop.groff +++ b/tdrop.1 @@ -83,6 +83,12 @@ If there are available settings for the detected window manager for the -l, -L, \fB-m\fR, \fB --monitor-aware\fR This option only applies for dropdowns (not auto-hiding and auto-showing). Specify that geometry values should be relative to the current monitor. For example, if the width is a percentage or negative value, the pixel width will be calculated as a percentage of the current monitor's width (instead of the combined width of all monitors). If the monitor changes, this option will cause a dropdown to be resized to fit the given percentages. Note that this option assumes xrandr is being used and requires xrandr to work. (default: false) .TP +\fB --wm\fR +.TP +Mimic another WM's rules with -a. This is unlikely to be useful. It could potentially be used in the case where a similar fork of a window manager had a different name. (default: automatically detected) +\fB --class\fR +Set the classname for the window. This is used for window managers like bspwm that use the classname for floating rules. For some commonly used programs, tdrop will already use the correct classname. This option is useful when the program name and classname are not the same and there is not already a default. (default: the program name or a known substitution) +.TP \fB --clear\fR Used to clear a saved window id for the given program or 'current' instead of creating a dropdown. Takes no argument. .TP