Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```
### Alias

Add some aliases for your shell would be helpful.

Example:
```bash
alias sxiv='srws sxiv'
alias mpv='srws mpv'
```