Imported from prdlk/dotfiles master (efdd827), which supersedes the omarchy branch (3031416). Drops the Umbriel, Noctalia, niri, CachyOS, macOS, and Blume docs-site layers; docs/ is plain Markdown.
7 lines
229 B
Bash
Executable File
7 lines
229 B
Bash
Executable File
#!/bin/sh
|
|
# Interactive Markdown selector and previewer.
|
|
file=$(fd --type f --extension md --max-depth 3 \
|
|
| fzf --preview 'mdfried {}' --preview-window=right:60%:wrap) || exit 0
|
|
[ -n "$file" ] || exit 0
|
|
exec mdfried "$file"
|