Cagebreak

Cagebreak is a tiling compositor for wayland, based on cage and inspired by ratpoison, which is easily controlled through the keyboard and a unix domain socket.

Installation

Install cagebreakAUR or cagebreak-binAUR. Alternatively, download a release tarball or clone the repository.

Optional dependencies

Configuration

The general configuration for cagebreak is located in $XDG_CONFIG_PATH/cagebreak/config. This defaults to ~/.config/cagebreak/config.

Read the configuration man page for detailed information. Note that you can also add configuration by using #Interaction through socket.

An example configuration file may be found on Github.

Usage

Start cagebreak like any other binary.

Getting started

The following is an example of how to install and use cagebreak with the configuration file provided on Github.

  1. Install as per #Installation. You should use cagebreak-binAUR unless you have reasons to do otherwise.
  2. Copy the example configuration from Github to $XDG_CONFIG_PATH/cagebreak/config. Documentation is provided in the configuration man page.
  3. Install or replace with your preferred terminal emulator in the configuration file.
  4. Run the following command or add it to to run cagebreak on login (see #Keyboard layout for explanation):
    $ XKB_DEFAULT_LAYOUT=us cagebreak
  5. Cagebreak should start up and display the terminal emulator you specified above. Press C-t to open a new terminal or C-t to split the screen. You can also use to switch to the workspace . For a full list of available keybindings, read the configuration file and the documentation.
  6. If you wish, you may also interact with cagebreak using the unix domain socket. See #Interaction through socket for further information.
  7. Also, please file any bugs you may find:

Keyboard layout

Set the environment variable to the desired keyboard layout. See the man page for further information.

Interaction through socket

On startup, cagebreak opens a unix domain socket through which interaction with the compositor is possible at run-time. The path to this socket is stored in the environment variable. For example, may be invoked with:

$ nc -U $CAGEBREAK_SOCKET

to send cagebreak any configuration while it is running. The syntax is identical to the syntax of the configuration file.

gollark: However, if I wanted to add a field like "edit reason" to revisions, it would need to have an entry in pages AND revisions.
gollark: Outside of timestamps, which are small and thus insignificant, no.
gollark: ESPECIALLY given that I plan to store stuff like edit distance.
gollark: But that would be somewhat inelegant.
gollark: > This isn't really ideal, as I think I'm duplicating data a bit (timestamps), updating a page involves more work, and more importantly the revisions thing doesn't have any relevant information beyond what's available from pages.> Also, the latest update to something doesn't show on the user-visible revisions page, which is a minor nitpick but I mildly dislike it.

See also

This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.