blob: 185f47a5c4b086abb4f287afa50a2d89cc7a8d42 (
plain)
1
2
3
4
5
6
7
8
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
|