Giter VIP home page Giter VIP logo

devour-xdtool's Introduction

Notes about this fork

The original implementation by salman-abedin uses xdo which caused a whole lot of problems. In fact, it never worked reliably on my system at all (Ubuntu 18.04 LTS). In this fork I replaced the xdo dependency with xdotool a much more standard and reliable implementation. Works like a charm.

Devour: Window Manager agnostic swallowing feature for terminal emulators

Demonstration done by DistroTube

Devour hides your terminal window before launching an external program and unhides it after quitting.

Devour is the successor to BSPWM_Swallow and a fork of sw by ronniedroid

Dependencies

Installation

git clone https://github.com/pabloariasal/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

Contributors


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]

devour-xdtool's People

Contributors

salman-abedin avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.