mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-11 19:45:25 +03:00
feat: minor changes
This commit is contained in:
parent
d2dad7072a
commit
7877dd1bc6
6 changed files with 18 additions and 11 deletions
|
|
@ -392,5 +392,6 @@ exec aw-qt
|
||||||
exec dunst
|
exec dunst
|
||||||
exec kde-connect-indicator
|
exec kde-connect-indicator
|
||||||
exec copyq
|
exec copyq
|
||||||
|
exec "xmodmap ~/.Xmodmap"
|
||||||
exec "bash ~/bin/autostart.sh"
|
exec "bash ~/bin/autostart.sh"
|
||||||
# exec emacs --daemon
|
# exec emacs --daemon
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -844,7 +844,8 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
|
||||||
(use-package org-latex-impatient
|
(use-package org-latex-impatient
|
||||||
:straight (
|
:straight (
|
||||||
:repo "yangsheng6810/org-latex-impatient"
|
:repo "yangsheng6810/org-latex-impatient"
|
||||||
:branch "master")
|
:branch "master"
|
||||||
|
:host github)
|
||||||
:hook (org-mode . org-latex-impatient-mode)
|
:hook (org-mode . org-latex-impatient-mode)
|
||||||
:init
|
:init
|
||||||
(setq org-latex-impatient-tex2svg-bin
|
(setq org-latex-impatient-tex2svg-bin
|
||||||
|
|
@ -1598,7 +1599,7 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
|
||||||
** Snow
|
** Snow
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package snow
|
(use-package snow
|
||||||
:straight (:repo "alphapapa/snow.el"))
|
:straight (:repo "alphapapa/snow.el" :host github))
|
||||||
#+end_src
|
#+end_src
|
||||||
** OFF Buku
|
** OFF Buku
|
||||||
#+begin_src emacs-lisp :tangle no
|
#+begin_src emacs-lisp :tangle no
|
||||||
|
|
|
||||||
|
|
@ -276,6 +276,12 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
|
||||||
(use-package swiper
|
(use-package swiper
|
||||||
:straight t)
|
: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
|
(my-leader-def
|
||||||
:infix "f"
|
:infix "f"
|
||||||
"b" 'ivy-switch-buffer
|
"b" 'ivy-switch-buffer
|
||||||
|
|
@ -663,7 +669,8 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
|
||||||
(use-package org-latex-impatient
|
(use-package org-latex-impatient
|
||||||
:straight (
|
:straight (
|
||||||
:repo "yangsheng6810/org-latex-impatient"
|
:repo "yangsheng6810/org-latex-impatient"
|
||||||
:branch "master")
|
:branch "master"
|
||||||
|
:host github)
|
||||||
:hook (org-mode . org-latex-impatient-mode)
|
:hook (org-mode . org-latex-impatient-mode)
|
||||||
:init
|
:init
|
||||||
(setq org-latex-impatient-tex2svg-bin
|
(setq org-latex-impatient-tex2svg-bin
|
||||||
|
|
@ -1277,4 +1284,4 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
|
||||||
"-" 'text-scale-decrease)
|
"-" 'text-scale-decrease)
|
||||||
|
|
||||||
(use-package snow
|
(use-package snow
|
||||||
:straight (:repo "alphapapa/snow.el"))
|
:straight (:repo "alphapapa/snow.el" :host github))
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,6 @@ bind gN tabclose
|
||||||
|
|
||||||
bind O fillcmdline tabopen
|
bind O fillcmdline tabopen
|
||||||
|
|
||||||
bind / fillcmdline find
|
|
||||||
bind ? fillcmdline find -?
|
|
||||||
bind n findnext 1
|
bind n findnext 1
|
||||||
bind N findnext -1
|
bind N findnext -1
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,11 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
COMMAND="buku -o %"
|
BUKU="/home/pavel/Programs/miniconda3/bin/buku"
|
||||||
|
COMMAND="$BUKU -o %"
|
||||||
# COMMAND="qutebrowser $(buku -f 10 -p %)"
|
# COMMAND="qutebrowser $(buku -f 10 -p %)"
|
||||||
if [[ $1 == '-e' ]]; then
|
if [[ $1 == '-e' ]]; then
|
||||||
COMMAND="buku -w %"
|
COMMAND="$BUKU -w %"
|
||||||
fi
|
fi
|
||||||
buku -f 4 -p | awk -F'\t' -v OFS='\t' '{
|
$BUKU -f 4 -p | awk -F'\t' -v OFS='\t' '{
|
||||||
split($4, tags, ",")
|
split($4, tags, ",")
|
||||||
joined = sep = ""
|
joined = sep = ""
|
||||||
for (i = 1; i in tags; i++) {
|
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
|
if [[ -z "$index" ]]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
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 %
|
echo ${url#"waiting for input"} | cut -d ' ' -f 1 | xargs -I % firefox %
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue