m15o.net/wombat/bin/paw

NAME

paw - window manager

SYNOPSIS

/bin/paw

DESCRIPTION

Paw is the window manager. It is mounted at /srv/win/.

/srv/win/stack
GET

List window ids from bottom to top. The last is the active window.

PUT

Update the position of the windows in the stack.

Body

a new list

/srv/win/sel
GET

List selected window ids.

PUT

Update selected windows.

Body

list of selected windows

/srv/win/{pid}/
GET

List window resources.

Each directory is a window, named by its process's pid, and contains the following resources. A process reaches its own under win/.

label
GET

Read the title

PUT

Update the title

Body

new title

xywh
GET

Read position and dimension of the window.

PUT

Update position and dimension of the window.

Body

a space-separated string containing values for {x} {y} {w} {h}

name
GET

Read the ID used by the dom server to draw the window's content.

ctl
PUT

Send a command.

close

Emit a close message to the process's ctl.

activate

Raise the window to the top of the stack.

Using

Double click on the desktop to open a new req window.

Click in the square at the top right of a window to close it.

Double click the title of a window to open a new req with a path set to the window's process directory.

Move windows around by dragging their title.

Clicking on a window puts it at the top of the stack.

Mod + clicking the title of a window adds it to the selection.

Theme

Paw takes its appearance from /etc/css.

--f

is the font.

--pad

is the padding and gap between elements.

--bg

is the background color.

--fg

is the text color.

--d

is the dimmed color.

--hb

is the highlight's background color.

--hf

is the highlight's text color.

Visual idioms

Rectangles with solid borders have non-editable content

Rectangles with dotted borders have editable content

Rounded rectangles are buttons and can be clicked

Rounded rectangles with dotted borders are inactive buttons

FILES

/etc/css

SOURCE

/bin/paw

SEE ALSO

dom(bin), win(lib)

wombat(site:bin)