From 239dc7b38ddd1b980fc8cb8d608c6390221ea56d Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Wed, 10 Feb 2021 18:00:14 +0100 Subject: [PATCH] Move one script to private file --- binaries-private.org | 22 ++++++++++++++++++++++ binaries.org | 11 ----------- config.org | 4 ++++ 3 files changed, 26 insertions(+), 11 deletions(-) diff --git a/binaries-private.org b/binaries-private.org index fec569b..dbcefad 100644 --- a/binaries-private.org +++ b/binaries-private.org @@ -192,3 +192,25 @@ exit 0 #+begin_src bash :tangle ~/.local/bin/color-picker xcolor | tr -d '\n' | xsel -b #+end_src + +* =readbib= - Open Bibliography File +:PROPERTIES: +:CUSTOM_ID: readbib +:END: + +List all =pdf= files and open selected one with zathura. + +#+begin_src bash :tangle ~/.local/bin/readbib +cd ~/Cloud/pdfs/ && ls | rofi -dmenu -lines 20 | xargs -I {} zathura {} +#+end_src + +* =readnotes= - Open Note +:PROPERTIES: +:CUSTOM_ID: readnotes +:END: + +List all =pdf= files and open selected one with zathura. + +#+begin_src bash :tangle ~/.local/bin/readnotes +cd ~/Cloud/brain/pdfs/ && ls | rofi -dmenu -lines 20 | xargs -I {} zathura {} +#+end_src diff --git a/binaries.org b/binaries.org index 98ca95f..953aa9e 100644 --- a/binaries.org +++ b/binaries.org @@ -870,17 +870,6 @@ else fi #+end_src -* =readbib= - Open Bibliography File -:PROPERTIES: -:CUSTOM_ID: readbib -:END: - -List all =pdf= files and open selected one with zathura. - -#+begin_src bash :tangle ~/.local/bin/readbib -cd ~/Cloud/pdfs/ && ls | rofi -dmenu -lines 20 | xargs -I {} zathura {} -#+end_src - * =pdf2bib= - Extract bibtex entry from PDF file :PROPERTIES: :CUSTOM_ID: pdf2bib diff --git a/config.org b/config.org index ad94808..a8a30fa 100644 --- a/config.org +++ b/config.org @@ -185,6 +185,10 @@ machine torrent.tdehaeze.xyz login tdehaeze password <> +machine dl.tdehaeze.xyz +login tdehaeze +password <> + machine deemix.tdehaeze.xyz login tdehaeze password <>