Skip to content
Sweets edited this page Feb 22, 2020 · 2 revisions

Usage

To run the window manager you simply run custard as a command after installing to the system. The binary provides to instance modes, window manager mode and controller mode.

When run in window manager mode, the command-line will run custard as a window manager that accepts input from a controller. When run as a controller, you are providing input to the currently running window manager instance of custard, sent via a UNIX socket.

Window Manager

The window manager accepts two run-time arguments for the end-user.

Flag Behavior
--rc Sets an rc file that is executed when the window manager starts. The argument after this flag must be a path that points to an executable, readable file. If there any conditions concerning the file path are not met (e.g. not executable, not readable, not a file) the window manager will error out.
--loglevel Sets the loglevel for the window manager. All output generated by custard is sent to STDERR.
Loglevel Output data
0 No output
1 Fatal errors
2 Runtime messages
3 Debug messages

Controller

To use custard as a controller you pass a single hyphen as the first command-line argument to custard, and any input you wish to provide to the window manager after.

custard - example ([input]...)

Clone this wiki locally