Merge branch 'master' of github.com:SqrtMinusOne/dotfiles

This commit is contained in:
Pavel Korytov 2021-01-14 09:04:52 +03:00
commit cba9ad4f25
6 changed files with 12 additions and 11 deletions

View file

@ -392,5 +392,6 @@ exec aw-qt
exec dunst
exec kde-connect-indicator
exec copyq
exec "xmodmap ~/.Xmodmap"
exec "bash ~/bin/autostart.sh"
# exec emacs --daemon

File diff suppressed because one or more lines are too long

View file

@ -848,7 +848,8 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
(use-package org-latex-impatient
:straight (
:repo "yangsheng6810/org-latex-impatient"
:branch "master")
:branch "master"
:host github)
:hook (org-mode . org-latex-impatient-mode)
:init
(setq org-latex-impatient-tex2svg-bin
@ -1611,7 +1612,7 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
** Snow
#+begin_src emacs-lisp
(use-package snow
:straight (:repo "alphapapa/snow.el"))
:straight (:repo "alphapapa/snow.el" :host github))
#+end_src
** OFF Buku
#+begin_src emacs-lisp :tangle no

View file

@ -673,7 +673,8 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
(use-package org-latex-impatient
:straight (
:repo "yangsheng6810/org-latex-impatient"
:branch "master")
:branch "master"
:host github)
:hook (org-mode . org-latex-impatient-mode)
:init
(setq org-latex-impatient-tex2svg-bin
@ -1294,4 +1295,4 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
"-" 'text-scale-decrease)
(use-package snow
:straight (:repo "alphapapa/snow.el"))
:straight (:repo "alphapapa/snow.el" :host github))

View file

@ -5,8 +5,6 @@ bind gN tabclose
bind O fillcmdline tabopen
bind / fillcmdline find
bind ? fillcmdline find -?
bind n findnext 1
bind N findnext -1

View file

@ -1,10 +1,11 @@
#!/bin/sh
COMMAND="buku -o %"
BUKU="/home/pavel/Programs/miniconda3/bin/buku"
COMMAND="$BUKU -o %"
# COMMAND="qutebrowser $(buku -f 10 -p %)"
if [[ $1 == '-e' ]]; then
COMMAND="buku -w %"
COMMAND="$BUKU -w %"
fi
buku -f 4 -p | awk -F'\t' -v OFS='\t' '{
$BUKU -f 4 -p | awk -F'\t' -v OFS='\t' '{
split($4, tags, ",")
joined = sep = ""
for (i = 1; i in tags; i++) {
@ -23,6 +24,6 @@ buku -f 4 -p | awk -F'\t' -v OFS='\t' '{
if [[ -z "$index" ]]; then
exit 0
fi
url=$(buku -f 10 -p $index)
url=$($BUKU -f 10 -p $index)
echo ${url#"waiting for input"} | cut -d ' ' -f 1 | xargs -I % firefox %
}