diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2020-10-31 11:32:40 -0400 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2020-10-31 11:32:40 -0400 |
| commit | f6038cf3ee7262f93ef0df7b001a3ab47886b697 (patch) | |
| tree | 85058efa28ce7ce564e770e501e929500b25031e /bin/snipmenu | |
| parent | 8a7171e7f3cd61ac79b8c806603130a51be3700b (diff) | |
| download | dotfiles-f6038cf3ee7262f93ef0df7b001a3ab47886b697.tar.gz dotfiles-f6038cf3ee7262f93ef0df7b001a3ab47886b697.tar.xz | |
Add some common scripts. A symlink for a vimrc snippet
Diffstat (limited to 'bin/snipmenu')
| -rwxr-xr-x | bin/snipmenu | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/snipmenu b/bin/snipmenu new file mode 100755 index 0000000..d525715 --- /dev/null +++ b/bin/snipmenu @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +conf="__REPLACE__" +cd "$conf" +_file=$(find . \! -type d | dmenu "$@") + +xdotool type --delay 1ms --clearmodifiers --file "$conf/$_file" |
