dotfiles

My personal dotfiles.
Log | Files | Refs | Submodules | README

commit 362466c552afa26c5070b195b4c3131b8b1ebbff
parent 9e8ee190db6655cadc89789c2a2c7b3913d8f197
Author: Pablo Cárdenas <pablo.cardenas@imca.edu.pe>
Date:   Sat, 30 May 2026 04:50:26 -0300

improved bibdot

Diffstat:
M.config/zathura/zathurarc | 2++
M.local/bin/bibdot | 5+++++
2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/.config/zathura/zathurarc b/.config/zathura/zathurarc @@ -1,5 +1,7 @@ set database sqlite set show-recent 100 +set recolor true map Y exec 'sh -c "echo \"\\\\ref{$(basename $FILE)}{<++>}{$PAGE}{<++>}\" | xclip -sel clipboard"' map b exec 'sh -c "path=$(basename $FILE); base=${path%.*}; bibref $base"' +map B exec 'sh -c "path=$(basename $FILE); base=${path%.*}; bibdot $base"' diff --git a/.local/bin/bibdot b/.local/bin/bibdot @@ -1,5 +1,10 @@ #!/bin/sh +if [ $# = 1 ]; then + biblist-dot "$1" | dot -Tpdf | zathura - + exit +fi + [ -f "$BIB" ] || { echo "No BIB=$BIB" exit 1