srws is a window swallower for X written in Rust, inspired by the dwm patch swallow.
- cargo
- libxcb
git clone https://github.com/EdenQwQ/srws
cd srws
cargo install --path .
Add srws before a command to swallow the focused window.
srws command
Add some aliases for your shell would be helpful.
Example:
alias sxiv='srws sxiv'
alias mpv='srws mpv'