summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew O. Shadoura <bugzilla@tut.by>2011-05-31 15:26:17 +0300
committerAndrew O. Shadoura <bugzilla@tut.by>2011-05-31 15:26:17 +0300
commit75fd82e0760116cf8a2c5bb1fee25dd3d9818fda (patch)
tree0bcc9bf1cb52a2db2dfde57139f7c3fce6cd4131
parente4b46d56d7f0babe8ee19ca3ab198eff35efb65f (diff)
refresh the wihack(1) manpage from the upstream
-rw-r--r--debian/patches/10-wihack-manpage.patch55
1 files changed, 38 insertions, 17 deletions
diff --git a/debian/patches/10-wihack-manpage.patch b/debian/patches/10-wihack-manpage.patch
index 1f34241..0542c2e 100644
--- a/debian/patches/10-wihack-manpage.patch
+++ b/debian/patches/10-wihack-manpage.patch
@@ -3,43 +3,64 @@ Author: Andrew O. Shadoura <bugzilla@tut.by>
--- /dev/null
+++ b/man/wihack.man1
-@@ -0,0 +1,37 @@
-+wihack
+@@ -0,0 +1,58 @@
++WIMENU
+wmii-@VERSION@
-+May, 2011
++May, 2010
+
+%!includeconf: header.t2t
+
+= NAME =
+
-+wihack - The wmii window manager hacks utility
++wihack - The wmii window hack
+
+= SYNOPSIS =
+
-+wihack [-transient <window>] [-type <window_type>[,...]] [-tags <tags>] <command> [<arg> ...]
++wihack [-transient <window>] [-type <ewmh window type>] [-tags <tags>] <program>
+
+= DESCRIPTION =
+
-+`wihack` is a simple utility that runs the specified command with some window
-+manager hacks applied.
++`wihack` is a program which alters the windows created by an
++arbitrary program. It has the name `wihack` because it is just that:
++a hack. It uses LD_PRELOAD to override certain Xlib calls and add
++properties to newly created windows.
+
+= ARGUMENTS =
+
+: -transient <window>
-+ The id of the window for which the window is transient for.
-+: -type <window_type>[,...]
-+ The list of window types for the window.
++ Marks created windows as transient for a given <window>.
++ This causes the new window to open in the floating layer of
++ the same tags as <window>.
++: -type <ewmh window type>
++ Sets the EWMH window type of the created window to the type
++ given. `wmii` understands the following types:
++
++ >>
++ : dialog
++ Opens in the floating layer.
++ : dock
++ : menu
++ : toolbar
++ Automatically opens in the floating layer. Does not
++ have a window border or titlebar.
++ : splash
++ Automatically floats and does not automatically
++ receive focus.
++ <<
+: -tags <tags>
-+ `+`-separated list of tags for the window.
-+: <command>
-+ The command to run.
-+: <arg> ...
-+ Optional arguments to the command.
++ The created window opens on the given tags.
+:
++= BUGS =
++
++It is a hack.
++
++It doesn't work for setuid programs.
++
++It doesn't work for non-Xlib programs.
++
+= SEE ALSO =
-+wmii(1)
+
-+[1] http://www.suckless.org/wiki/wmii/tips/9p_tips +
++wmii(1)
+
--- a/man/Makefile
+++ b/man/Makefile