diff options
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/README.md | 1 | ||||
| -rwxr-xr-x | plugins/notes | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/plugins/README.md b/plugins/README.md index 3ddbcf8..ace5375 100644 --- a/plugins/README.md +++ b/plugins/README.md @@ -19,6 +19,7 @@ The currently available plugins are listed below. | mocplay | sh | [moc](http://moc.daper.net/) | Appends (and plays, see script) selection/dir/file in moc| | ndiff | sh | vimdiff | Diff for selection (limited to 2 for directories) | | nmount | sh | pmount, udisks2 | Toggle mount status of a device as normal user | +| notes | sh | - | Open a quick notes file/dir in `$EDITOR` | | nwal | sh | nitrogen | Set image as wallpaper using nitrogen | | oldbigfile | sh | find, sort | List large files by access time | | organize | sh | file | Auto-organize files in directories by file type | diff --git a/plugins/notes b/plugins/notes new file mode 100755 index 0000000..02b9a0f --- /dev/null +++ b/plugins/notes @@ -0,0 +1,15 @@ +#!/usr/bin/env sh + +# Description: Open a quick notes file or directory in $EDITOR +# +# Details: Set the variable NOTE to the path to your quick notes file +# +# Shell: POSIX compliant +# Author: Arun Prakash Jana + +NOTE= +# NOTE=~/Dropbox/Notes/synced_note + +if [ ! -z "$NOTE" ]; then + $EDITOR "$NOTE" +fi |