Browse Source

Update README.md

fix-resizing
Wesley Kerfoot 4 years ago
committed by GitHub
parent
commit
72a93d8f15
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      README.md

7
README.md

@ -1,8 +1,7 @@
## Nimwin
### What is this?
A very simple X11 window manager written in Nim, and inspired by TinyWM.
A very simple X11 window manager written in Nim, and inspired by TinyWM and XMonad.
### How to build it?
Install nim and nimble and run `nimble build`. You must have XLib development headers on your system (and obviously an X server).
@ -11,7 +10,7 @@ Install nim and nimble and run `nimble build`. You must have XLib development he
* Install [Xephyr](https://en.wikipedia.org/wiki/Xephyr)
* Make sure you have a running X server
Then run these commands to launch Xephyr. You could also directly execute nimwin from your `~/.xinitrc`, but that would be difficult to use.
Then run these commands to launch Xephyr. You could also directly execute nimwin from your `~/.xinitrc` which will launch it directly when your X session starts.
```
Xephyr -ac -screen 1280x1024 -br -reset -terminate 2> /dev/null :1 &
env DISPLAY=:1 ./nimwin
@ -22,4 +21,4 @@ If you want to run xterm, for example, just run `xterm -display :1`
### How to move windows
`alt + right` click allows you to resize, `alt + left click` allows you to move, `ctrl + alt + t` opens an xterm
`alt + right` click allows you to resize, `alt + left click` allows you to move, `ctrl + alt + return` opens an xterm, and `alt + tab` cycles through windows, changing the focus each time.

Loading…
Cancel
Save