config: various updates
This commit is contained in:
parent
856ab66059
commit
dea1732727
|
@ -729,6 +729,9 @@ Version 2019-11-04 2021-02-16"
|
||||||
(add-to-list 'org-export-filter-headline-functions
|
(add-to-list 'org-export-filter-headline-functions
|
||||||
'org/ensure-latex-clearpage)
|
'org/ensure-latex-clearpage)
|
||||||
|
|
||||||
|
; https://tex.stackexchange.com/questions/50747/options-for-appearance-of-links-in-hyperref/50754#50754
|
||||||
|
(add-to-list 'org-latex-default-packages-alist "\\PassOptionsToPackage{colorlinks=true,urlcolor=blue,allcolors=blue}{hyperref}")
|
||||||
|
|
||||||
;;(setq org-latex-toc-command "\\tableofcontents*\n\n")
|
;;(setq org-latex-toc-command "\\tableofcontents*\n\n")
|
||||||
(setq org-latex-pdf-process '("latexmk -shell-escape -pdfxe -pdfxelatex=\"xelatex --shell-escape\" -outdir=/tmp/latexmk -f -pdf %F && mv %f /tmp/latexmk && mv /tmp/latexmk/%b.pdf %o") ; https://emacs.stackexchange.com/a/48351
|
(setq org-latex-pdf-process '("latexmk -shell-escape -pdfxe -pdfxelatex=\"xelatex --shell-escape\" -outdir=/tmp/latexmk -f -pdf %F && mv %f /tmp/latexmk && mv /tmp/latexmk/%b.pdf %o") ; https://emacs.stackexchange.com/a/48351
|
||||||
org-latex-packages-alist '(("" "fullpage") ("avoid-all" "widows-and-orphans") ("" "svg"))
|
org-latex-packages-alist '(("" "fullpage") ("avoid-all" "widows-and-orphans") ("" "svg"))
|
||||||
|
|
|
@ -98,7 +98,7 @@
|
||||||
b = branch -vv
|
b = branch -vv
|
||||||
ba = b -a
|
ba = b -a
|
||||||
|
|
||||||
main = !cat "$(git rev-parse --git-path refs/remotes/origin/HEAD)" | cut -d'/' -f4
|
main = !git rev-parse --abbrev-ref origin/HEAD | cut -d'/' -f2
|
||||||
curbranch = symbolic-ref --short HEAD
|
curbranch = symbolic-ref --short HEAD
|
||||||
upstream = !git rev-parse --abbrev-ref --symbolic-full-name @{upstream} || git rev-parse --abbrev-ref --symbolic-full-name @{push} || echo origin/$(git curbranch)
|
upstream = !git rev-parse --abbrev-ref --symbolic-full-name @{upstream} || git rev-parse --abbrev-ref --symbolic-full-name @{push} || echo origin/$(git curbranch)
|
||||||
|
|
||||||
|
|
|
@ -44,3 +44,5 @@ x-scheme-handler/tg=telegram.desktop;
|
||||||
video/mp4=vlc.desktop;
|
video/mp4=vlc.desktop;
|
||||||
text/calendar=emacsclient.desktop;
|
text/calendar=emacsclient.desktop;
|
||||||
video/x-m4v=vlc.desktop
|
video/x-m4v=vlc.desktop
|
||||||
|
text/vcard=emacs.desktop
|
||||||
|
text/plain=emacs.desktop
|
||||||
|
|
|
@ -2,3 +2,10 @@ input type:touchpad {
|
||||||
tap enabled
|
tap enabled
|
||||||
natural_scroll disabled
|
natural_scroll disabled
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# TODO not working
|
||||||
|
bindsym $mod+Alt+t swaymsg input type:touchpad events toggle
|
||||||
|
|
||||||
|
#input "pointer:motion:MSFT0002:01.*" {
|
||||||
|
# xinput events disable type:touchpad
|
||||||
|
#}
|
||||||
|
|
|
@ -40,7 +40,7 @@ repos = [
|
||||||
#pull_predefined = false
|
#pull_predefined = false
|
||||||
|
|
||||||
# Arguments to pass Git when pulling Repositories
|
# Arguments to pass Git when pulling Repositories
|
||||||
pull_arguments = "--rebase --autostash --recurse-submodules"
|
#pull_arguments = "--rebase --autostash --recurse-submodules"
|
||||||
|
|
||||||
[composer]
|
[composer]
|
||||||
#self_update = false
|
#self_update = false
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
|
|
||||||
|
|
||||||
# Arrange displays in a ROW (default, left to right) or a COLUMN (top to bottom)
|
# Arrange displays in a ROW (default, left to right) or a COLUMN (top to bottom)
|
||||||
ARRANGE: COLUMN
|
#ARRANGE: COLUMN
|
||||||
|
ARRANGE: ROW
|
||||||
|
|
||||||
# Align ROWs at the TOP (default), MIDDLE or BOTTOM
|
# Align ROWs at the TOP (default), MIDDLE or BOTTOM
|
||||||
# Align COLUMNs at the LEFT (default), MIDDLE or RIGHT
|
# Align COLUMNs at the LEFT (default), MIDDLE or RIGHT
|
||||||
|
@ -17,11 +18,11 @@ ALIGN: MIDDLE
|
||||||
ORDER:
|
ORDER:
|
||||||
- 'C24F390'
|
- 'C24F390'
|
||||||
- 'LOEWE'
|
- 'LOEWE'
|
||||||
- 'DP-4'
|
- 'DP-4' # left port
|
||||||
- 'VFV'
|
- 'VFV'
|
||||||
|
- 'BOE' #internal
|
||||||
- 'DP-3'
|
- 'DP-3'
|
||||||
- 'DP-1'
|
- 'DP-1' # right port
|
||||||
- 'BOE'
|
|
||||||
|
|
||||||
# The default is to scale each display by DPI.
|
# The default is to scale each display by DPI.
|
||||||
# This may be disabled and scale 1 will be used, unless a SCALE has been specified.
|
# This may be disabled and scale 1 will be used, unless a SCALE has been specified.
|
||||||
|
|
Loading…
Reference in New Issue