1
0
mirror of https://github.com/RyanGreenup/cadmus.git synced 2025-08-14 01:53:59 +02:00

Changed Note Search to MDCat from Bat

(for aesthetics)
This commit is contained in:
Ryan Greenup
2020-10-01 09:12:25 +10:00
parent 93d950db6a
commit ffa1640104

View File

@@ -121,10 +121,7 @@ NoteSearchRecoll () {
cut -c 8- | sed s/^/realpath\ \"/ |\
sed s+\$+\"\ --relative-to\ \"./\"+ | bash' \
--bind pgup:preview-page-up,pgdn:preview-page-down \
--preview "bat --color=always --line-range :500 \
--terminal-width 80 --theme=TwoDark {+} \
--italic-text=always \
--decorations=always" \
--preview "mdcat {+}" \
--color=fg:#f8f8f2,bg:-1,matched:#6272a4,current_fg:#50fa7b,current_bg:#381070,border:#ff79c6,prompt:#bd93f9,query:#bd93f9,marker:#f1fa8c,header:#f1fa8c
}
RELATIVE_PATH="$(RelativePath)"