Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emperorpenguin18/gobble
Rust rewrite of Devour
https://github.com/emperorpenguin18/gobble
arch-linux archlinux cli linux rice rust terminal unix wayland window-manager x11
Last synced: about 1 month ago
JSON representation
Rust rewrite of Devour
- Host: GitHub
- URL: https://github.com/emperorpenguin18/gobble
- Owner: EmperorPenguin18
- License: gpl-3.0
- Created: 2021-05-10T21:49:40.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-01T16:37:41.000Z (9 months ago)
- Last Synced: 2024-05-03T01:56:49.291Z (9 months ago)
- Topics: arch-linux, archlinux, cli, linux, rice, rust, terminal, unix, wayland, window-manager, x11
- Language: Rust
- Homepage:
- Size: 70.3 KB
- Stars: 41
- Watchers: 3
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# gobble
Rust rewrite of DevourGobble hides your current window before launching an external program and unhides it after quitting. Useful in terminals and file managers to keep your screen uncluttered.
## Installation
### Arch
```
git clone https://github.com/EmperorPenguin18/gobble
cd gobble
makepkg -si
```
Or just install from the [AUR](https://aur.archlinux.org/packages/gobble)### Nix and NixOS
Install from [Nixpkgs Unstable](https://search.nixos.org/packages?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=gobble).
### Other Linux
```
git clone https://github.com/EmperorPenguin18/gobble
cd gobble
make
make install #as root
```## Usage
```
gobble CMD ...
```
Read the man page for more info## Pro Tip
To automate using gobble:
Find and edit your shell rc (Usually ~/.bashrc)
Add this to it:
`alias mpv='gobble mpv'`
`alias vimiv='gobble vimiv'`
for example to automatically swallow when you open something in mpv or vimiv from CLI.
In pcmanfm (and probably other gui file managers): you can right click on a file -> open with -> custom command line. Under command line to execute:
`gobble mpv %f`
Enter 'mpv' in 'Application name (optional, set it to keep association)'.
Then check 'Set selected application as default for this file type', and click ok.
## Uninstallation
Arch
```
pacman -R gobble #as root
```Other Linux
```
cd gobble
make uninstall #as root
```