dakyskye / dxhd

daky's X11 Hotkey Daemon
MIT License
99 stars 6 forks source link

a flag to quickly edit a config file #26

Closed dakyskye closed 4 years ago

dakyskye commented 4 years ago

What do you want

A flag (-e and --edit) that takes the name of a config file (defaults to ~/.config/dxhd/ directory) with/without the file extension and opens with the text editor.

Why

To get your config files open in your $EDITOR faster.

Implementation hints

-e file(.ext) which will expand to ~/.config/dxhd/file(.ext)`: