-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from waycrate/aakash/dev-feat
refactor(libwaysip): Separate state and dispatch files
- Loading branch information
Showing
11 changed files
with
804 additions
and
641 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,34 @@ | ||
# Waysip | ||
<p align=center> | ||
<!-- <img src="https://git.sr.ht/~shinyzenith/wayshot/blob/main/docs/assets/wayshot.png" alt=wayshot width=60%> --> | ||
<p align=center>A native, blazing-fast 🚀🚀🚀 area selection tool for wlroots based compositors such as sway and river.</p> | ||
|
||
it is a crate like slurp, to select area on wayland, which support layershell. | ||
<p align="center"> | ||
<a href="./LICENSE.md"><img src="https://img.shields.io/github/license/waycrate/wayshot?style=flat-square&logo=appveyor"></a> | ||
<img src="https://img.shields.io/badge/cargo-v0.2.2-green?style=flat-square&logo=appveyor"> | ||
<img src="https://img.shields.io/github/issues/waycrate/waysip?style=flat-square&logo=appveyor"> | ||
<img src="https://img.shields.io/github/forks/waycrate/waysip?style=flat-square&logo=appveyor"> | ||
<img src="https://img.shields.io/github/stars/waycrate/waysip?style=flat-square&logo=appveyor"> | ||
<br> | ||
<img src="https://repology.org/badge/vertical-allrepos/waysip.svg"> | ||
</p> | ||
</p> | ||
|
||
usage | ||
# Some usage examples: | ||
|
||
```rust | ||
use libwaysip::{get_area, WaySipKind}; | ||
fn main() { | ||
println!("{:?}", get_area(WaySipKind::Area)); | ||
} | ||
``` | ||
TODO: | ||
|
||
# Installation | ||
|
||
## Compile time dependencies: | ||
TODO: | ||
|
||
## Compiling: | ||
|
||
- `git clone https://github.com/waycrate/waysip && cd waysip` | ||
- `cargo buid --release` | ||
- `sudo mv ./target/release/waysip /usr/local/bin` | ||
|
||
# Support: | ||
|
||
1. https://matrix.to/#/#waycrate-tools:matrix.org | ||
2. https://discord.gg/KKZRDYrRYW |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
use libwaysip::{get_area, WaySipKind}; | ||
use libwaysip::{get_area, SelectionType}; | ||
fn main() { | ||
println!("{:?}", get_area(WaySipKind::Area)); | ||
println!("{:?}", get_area(SelectionType::Area)); | ||
} |
Oops, something went wrong.