Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rtyler/tinywm-ruby
An implementation of TinyWM in Ruby with FFI
https://github.com/rtyler/tinywm-ruby
Last synced: about 2 months ago
JSON representation
An implementation of TinyWM in Ruby with FFI
- Host: GitHub
- URL: https://github.com/rtyler/tinywm-ruby
- Owner: rtyler
- Created: 2014-10-21T05:43:05.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-07T05:30:48.000Z (about 10 years ago)
- Last Synced: 2024-11-26T21:03:23.319Z (about 2 months ago)
- Language: Ruby
- Size: 1.01 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TinyWM (Ruby edition)
This project is an evening experiment to port
Nick Welch's [tinywm](http://incise.org/tinywm.html) from C to Ruby using [FFI](https://github.com/ffi/ffi).TinyWM uses Xlib as its underlying library.
## Running
It's recommended that you use
[Xephyr](http://www.freedesktop.org/wiki/Software/Xephyr/) to run a nested
X.org server for playing with TinyWM.1. `bundle install` to get the Ruby dependencies
1. In one terminal run: `Xephyr :1`
1. In another: `DISPLAY=:1.0 ./tinywm`
1. In another: `DISPLAY=:1.0 xcalc`### Keybindings
TinyWM only really has a couple key-bindings:
* `Mod4+F1` - Raise the window under the cursor
* `Mod4+LeftMouse` - Move the window
* `Mod4+RightMouse` - Resize the window