Coder Social home page Coder Social logo

wtftw's Introduction

wtftw

Window Tiling For The Win. A tiling window manager written in Rust

Screenshot

Status

Build Status

Build

Notice: Wtftw is compiled against the latest nightlies, so make sure to have your rustc up to date.

To build it, just run

cargo build

Testing

First, export the ./target/release/deps path to your LD_LIBRARY_PATH, this is important!. Then, if you want to have your own custom config, create one in ~/.wtftw/config.rs. You can find an example config in config/config.rs in this repository.

For testing, install either Xnest or Xephyr on your system and run

Xephyr -screen 800x600 :1 &
DISPLAY=:1 ./target/release/wtftw &
DISPLAY=:1 thunar & (or whatever application you want to run)

or respectively

Xnest -geometry 800x600+0+0 :1 &
DISPLAY=:1 ./target/release/wtftw &
DISPLAY=:1 thunar &

Installation

Compile it normally with cargo build --release, and then either use it with your .xinitrc or your favorite display manager. If you want to configure it, take a look at the example config in config/.

After the first start, the config needs to be placed in ~/.wtftw/src/config.rs. Voila.

Commands

In a default setting, the commands are hardcoded, but can be changed in your own config.

Switch workspace

ALT+num

Open terminal

ALT+SHIFT+Enter

Run program

ALT+SHIFT+p

You'll need to install gmrun for this

Tutorial

I will be making a tutorial series on how to write a window manager. A bit busy with my thesis at the moment, but the first part is here

wtftw's People

Contributors

kintaro avatar reem avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.