Skip to content

gavinlaking/exdege

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

exdege

Ruby wrapper around xdg-open, allowing one to watch a specific directory for changes and use xdg-open on the new files added. Uses the Ruby listen gem.

Installing

$ git clone https://github.com/gavinlaking/exdege.git ~/bin/

Rationale

A testing script writes screenshots to my application directory tmp/ directory, and I don't want to type xdg-open tmp/screenshots/longfilename.png

Instead, I clone this repository to my $HOME/bin directory which is in my $PATH then run:

$ exdege /some/path/tmp

About

Combining listen and xdg-open

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages