WMIIR(1)

NAME
wmiir - window manager improved 2 remote

SYNOPSIS
wmiir [-a address] action file
wmiir -v

DESCRIPTION

  Overview
wmiir is a client to access the filesystem of wmiiwm(1) from the command line or from shell scripts. It can be used to configure wmii(1).

  Options

-a address
    Lets you specify the address to which wmiir will establish a connection. If this option is not supplied, and the environment variable WMII_ADDRESS is set, wmiir will use this value as its address. Currently, the address can only be a unix socket file or a tcp socket. The syntax for address is taken (along with many other profound ideas) from the Plan 9 operating system and has the form unix!/path/to/socket for unix socket files, and tcp!hostname!port for tcp sockets.

-v  Prints version information to stdout, then exits.

The syntax of the actions is as follows:

write
    Writes the supplied data from stdin to file, overwriting any previous data. The data to be written is arbitrary and only gains meaning (and restrictions) when it is interpreted by wmiiwm(1). See EXAMPLES below.

create
    Creates file or directory but does not write any data. If the file exists, nothing is done.

read
    Reads file or directory contents

remove
    Removes file or directory tree

ENVIRONMENT

WMII_ADDRESS
    See above.

EXAMPLES

wmiir read /
    This prints the root directory of the wmii filesystem. For more information about the contents of this filesystem, see wmiiwm(1).

echo -n quit | wmiir write /ctl
    Write 'quit' to the main control file of the wmii filesystem, effectively leaving wmii.

echo -n view 2 | wmiir write /ctl
    Bring into view all clients tagged '2'. To learn about clients and tags, see wmiiwm(1).

SEE ALSO
wmii(1), wmiiwm(1) http://www.cs.bell-labs.com/sys/man/5/INDEX.html