1
0
Fork
You've already forked shortcut
0
a .desktop file creator born from sheer pettiness
  • Shell 93.7%
  • Makefile 6.3%
2021年04月13日 22:23:45 +00:00
LICENSE Add LICENSE 2021年04月13日 22:23:45 +00:00
Makefile Rename executable, add Makefile 2021年04月13日 17:13:10 -05:00
README.md Initial commit 2021年04月13日 17:04:44 -05:00
shortcut Rename executable, add Makefile 2021年04月13日 17:13:10 -05:00

shortcut

Sometimes, xdg-desktop-icon isn't enough.


Usage

shortcut -e <command> <dir> links an existing shortcut that you have, if there is one, to the folder you ask for.

shortcut -n <command> <dir> runs a small wizard to make a brand new shortcut.

shortcut -r <shortcut>.desktop simply deletes the existing

Installation/Uninstallation

  • Make installation:

    make install should be enough.

    $ git clone https://gitlab.com/beethoven__/shortcut.git
    $ cd shortcut
    $ make install #installs it
    

    To remove it, do make uninstall in the shortcut directory.

  • Manual installation:

    Just copy shortcut to a folder in your $PATH. For exmaple:

    $ git clone https://gitlab.com/beethoven__/shortcut.git
    $ cd shortcut
    $ sudo cp shortcut /usr/bin
    

    To remove it, do rm /usr/bin/shortcut