Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edenqwq/srws
Simple Rust Window Swallower
https://github.com/edenqwq/srws
rust windowmanager x11
Last synced: 2 days ago
JSON representation
Simple Rust Window Swallower
- Host: GitHub
- URL: https://github.com/edenqwq/srws
- Owner: EdenQwQ
- License: mit
- Created: 2022-04-15T13:58:50.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-16T05:27:43.000Z (almost 3 years ago)
- Last Synced: 2024-11-17T21:47:38.728Z (2 months ago)
- Topics: rust, windowmanager, x11
- Language: Rust
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple Rust Window Swallower
srws is a window swallower for X written in Rust, inspired by the dwm patch [swallow](https://dwm.suckless.org/patches/swallow/).
## Installation
### Dependencies
- cargo
- libxcb```bash
git clone https://github.com/EdenQwQ/srws
cd srws
cargo install --path .```
## Usage
Add srws before a command to swallow the focused window.
```bash
srws command
```
### AliasAdd some aliases for your shell would be helpful.
Example:
```bash
alias sxiv='srws sxiv'
alias mpv='srws mpv'
```