feat: minor changes

This commit is contained in:
Pavel Korytov 2021-01-11 20:05:01 +03:00
parent d2dad7072a
commit 7877dd1bc6
6 changed files with 18 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

@ -844,7 +844,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
@ -1598,7 +1599,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

@ -276,6 +276,12 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
(use-package swiper
:straight t)
(use-package ivy-rich
:straight t
:config
(ivy-rich-mode 1)
(setcdr (assq t ivy-format-functions-alist) #'ivy-format-function-line))
(my-leader-def
:infix "f"
"b" 'ivy-switch-buffer
@ -663,7 +669,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
@ -1277,4 +1284,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 %
}