17

GitHub - salman-abedin/devour: Window Manager agnostic swallowing feature for te...

 3 years ago
source link: https://github.com/salman-abedin/devour
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Devour: Window Manager agnostic swallowing feature for X11

Devour hides your terminal window before launching an external program and unhides it after quitting.
Devour was inspired by sw and is a successor to devour.sh

Demonstration done by DistroTube

Dependencies

Installation

git clone https://github.com/salman-abedin/devour.git && cd devour && sudo make install

Usage

devour CMD/ALIAS ... SAFE FILE ...
devour CMD/ALIAS ... -- SAFE FILE/UNSAFE FILE

Pro Tip

Devour from your file explorer instead of the shell.
Watch my demo and notice how seamless it is compared to devouring from the shell.

Hint: If you are one of those unfortunate souls who uses xdg-open instead of a custom launch script, then go to your ~/.local/share/applications directory and modify the applications you launch from your file explorer like below and enjoy the true devouring experience.

[Desktop Entry]
Type=Application
Name=PDF Reader
Exec=/usr/local/bin/devour /usr/bin/zathura %U

Uninstallation

sudo make uninstall

Patches

  • 21/06/20:- Added support for names with spaces

  • 07/07/20:- Added support for shell aliases

  • 24/07/20:- Added support for names with spaces in alias mode

  • 03/08/20:- Rewrote the shellscript in C

Contributors

TO-DOs

  • Authentic swallowing

Repos you might be interested in

Name Description
bolt The launcher wrapper
uniblocks The status bar wrapper
tide Minimal Transmission CLI client
puri Minimal URL launcher
crystal The transparent setup
Magpie The dotfiles
Alfred The scripts

Contact

[email protected]


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK