Edit

IABSD.fr/ports/wayland/cagebreak/files

Branch :

  • Show log

    Commit

  • Author : jca
    Date : 2025-11-27 11:51:31
    Hash : 7dc25430
    Message : Import cagebreak, a wayland compositor heavily inspired by x11/ratpoison Input and ok matthieu@ pkg/DESCR: cagebreak is a slim, keyboard-controlled, tiling compositor for wayland conceptually based on the X11 window manager ratpoison. It allows for the screen to be split into non-overlapping tiles and, in contrast to the original ratpoison, has native support for multi-workspace operation. All interactions between the user and cagebreak are done via the keyboard.

  • startcagebreak.sh
  • #! /bin/ksh
    set -eu
    
    : ${WLR_DRM_DEVICES:=/dev/dri/card0}
    : ${XDG_CURRENT_DESKTOP:=cagebreak}
    : ${XDG_RUNTIME_DIR:=${HOME}/.local/run}
    : ${QT_QPA_PLATFORM:=wayland}
    
    export WLR_DRM_DEVICES
    export XDG_CURRENT_DESKTOP XDG_RUNTIME_DIR
    export QT_QPA_PLATFORM
    
    if [ ! -d "${XDG_RUNTIME_DIR}" ]; then
        mkdir -m 700 -p "${XDG_RUNTIME_DIR}"
    fi
    
    exec /usr/local/bin/cagebreak "$@"