diff options
author | Adrian Kummerlaender | 2017-01-14 22:02:34 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2017-01-14 22:02:34 +0100 |
commit | 44022bcd65a1e3683ffc0b2cbab7c7bfce528c6f (patch) | |
tree | ae641e0fd1e4972b52ab4d04285343ad129052b4 /bin | |
parent | e5e1c9d11f7a1c90fe3626288ea93d9d714aef73 (diff) | |
download | dotfiles-44022bcd65a1e3683ffc0b2cbab7c7bfce528c6f.tar dotfiles-44022bcd65a1e3683ffc0b2cbab7c7bfce528c6f.tar.gz dotfiles-44022bcd65a1e3683ffc0b2cbab7c7bfce528c6f.tar.bz2 dotfiles-44022bcd65a1e3683ffc0b2cbab7c7bfce528c6f.tar.lz dotfiles-44022bcd65a1e3683ffc0b2cbab7c7bfce528c6f.tar.xz dotfiles-44022bcd65a1e3683ffc0b2cbab7c7bfce528c6f.tar.zst dotfiles-44022bcd65a1e3683ffc0b2cbab7c7bfce528c6f.zip |
Replace `vimwiki` with custom solution based on selected plugins and `rofi`
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/rofi_wiki | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/rofi_wiki b/bin/rofi_wiki new file mode 100755 index 0000000..185f47a --- /dev/null +++ b/bin/rofi_wiki @@ -0,0 +1,9 @@ +#!/bin/sh + +name=$(find ~/wiki/*.wiki -printf "%f\n" | sed -e 's:\.[^./]*$::' | rofi -dmenu -p 'wiki:') + +if ! [[ -z $name ]] +then + i3-msg '[title="VimWiki"]' scratchpad show + exec gvim --servername VIMWIKI --remote ~/wiki/$name.wiki +fi |