summaryrefslogtreecommitdiff
path: root/man/wihack.man1
blob: 15287210d154507068cd62edde4bff1d11539caf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
WIMENU
wmii-@VERSION@
May, 2010

%!includeconf: header.t2t

= NAME =

wihack - The wmii window hack

= SYNOPSIS =

wihack [-transient <window>] [-type <ewmh window type>] [-tags <tags>] <program>

= DESCRIPTION =

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