Skip to content

orellazri/mswm

Repository files navigation

🪟 mswm

Floating X11 Window Manager with workspaces. Written in C++.

Demo

Usage

Trigger Action
Alt + Left Click Focus / Move window
Alt + Right Click Resize window
Alt + Middle Click Close window
Alt + Tab Switch active window
Alt + Shift + Enter Open terminal
Alt + Ctrl + Right Arrow Switch to next workspace (or create)
Alt + Ctrl + Left Arrow Switch to previous workspace
Alt + Shift + Ctrl + Left Arrow Move active window to next workspace
Alt + Shift + Ctrl + Left Arrow Move active window to previous workspace

Instructions

Prerequisites

Installation and Running

On Debian:

sudo apt install \
    build-essential libx11-dev libgoogle-glog-dev \
    xserver-xephyr xinit x11-apps xterm

Clone the repository and run ./run.sh. This will build the program and run it inside Xephyr.

NOTE: If running on Xephyr, disable num lock to avoid bugs.

Build

Run make