平铺式窗口管理器(Tiling Window manager):wtftw

jopen 10年前

wtftw是一个采用Rust开发的平铺式窗口管理器(Tiling Window manager)。

构建

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

测试

If you want to have your own custom config, create one in ~/.wtftw/src/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 &
安装

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 inconfig/.

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

Screenshot

项目主页:http://www.open-open.com/lib/view/home/1418965165277