SpyrosRoum / rwm

The Rusty WIndow Manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rwm - The Rusty Window Manager

rwm is a dynamic tilling (and floating) window manager for X11 using the tag system of dwm and the server/client style of bspwm. It's written in Rust using bindings to the xcb library.

rwm strives to be easy to use and configure through a simple config file.
The config file is currently changing a lot but here is how it looks like at the moment of writing:

(
    border_width: 4,
    focused_border_color: "#0000FF",
    normal_border_color: "#D3D3D3",
    mod_key: "Mod 1",
    // The order of the layouts is the order in which they will cycle
    layouts: [
        MonadTall,
        Grid,
        Floating,
    ],
    // Focus follows the cursor
    follow_cursor: true, 
    gap: 4,
    // Rules can be based either on WM_CLASS or WM_NAME using ClassName() or WMName() respectively
    rules: [
        // Put Firefox in both tag 1 and tag 2
        ClassName("firefox", [(3), (2)]), 
        // Put Alactitty in tag 3 only
        ClassName("Alacritty", [(3)]), 
    ],
)

You might notice the unfamiliar syntax. It's called RON

To-do

This is not a viable window manager yet, but it's coming together nicely.
See To-do for things that need to happen.

About

The Rusty WIndow Manager

License:GNU General Public License v3.0


Languages

Language:Rust 98.7%Language:Shell 1.3%