Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Wint3rmute/tiler
Browse files Browse the repository at this point in the history
  • Loading branch information
Wint3rmute committed Apr 15, 2020
2 parents 100640f + e52dddc commit fbf84c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ Tiler will automatically align all windows in your workspace.

## What works

Tldr; just watch this

![demo gif](./demo.gif)

Currently there are layouts for:

* 1 window - aligns the window to the center, switches between small and big window size
Expand All @@ -27,5 +31,5 @@ Currently there are layouts for:
## Installation
* Clone the repo
* `cargo build --release`
* Copy the result binary from `target/release/tiler` into some convenient place
* Copy the resulting binary from `target/release/tiler` into some convenient place
* Bind the binary execution to your keyboard shortcut of choice
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ fn main() {
let num_of_windows = windows.len();
let settings = size_settings::get_size_settings();

match num_of_windows {
match windows.len() {
1 => layout_1_window(&mut windows[0]),
2 => layout_2_windows(&mut windows, settings),
3 => layout_3_windows(&mut windows, settings),
Expand Down

0 comments on commit fbf84c0

Please sign in to comment.