config: various updates

This commit is contained in:
xeruf 2024-04-13 12:49:32 +02:00
parent 856ab66059
commit dea1732727
6 changed files with 19 additions and 6 deletions

View File

@ -729,6 +729,9 @@ Version 2019-11-04 2021-02-16"
(add-to-list 'org-export-filter-headline-functions
'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-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"))

View File

@ -98,7 +98,7 @@
b = branch -vv
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
upstream = !git rev-parse --abbrev-ref --symbolic-full-name @{upstream} || git rev-parse --abbrev-ref --symbolic-full-name @{push} || echo origin/$(git curbranch)

View File

@ -44,3 +44,5 @@ x-scheme-handler/tg=telegram.desktop;
video/mp4=vlc.desktop;
text/calendar=emacsclient.desktop;
video/x-m4v=vlc.desktop
text/vcard=emacs.desktop
text/plain=emacs.desktop

View File

@ -2,3 +2,10 @@ input type:touchpad {
tap enabled
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
#}

View File

@ -40,7 +40,7 @@ repos = [
#pull_predefined = false
# Arguments to pass Git when pulling Repositories
pull_arguments = "--rebase --autostash --recurse-submodules"
#pull_arguments = "--rebase --autostash --recurse-submodules"
[composer]
#self_update = false

View File

@ -5,7 +5,8 @@
# 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 COLUMNs at the LEFT (default), MIDDLE or RIGHT
@ -17,11 +18,11 @@ ALIGN: MIDDLE
ORDER:
- 'C24F390'
- 'LOEWE'
- 'DP-4'
- 'DP-4' # left port
- 'VFV'
- 'BOE' #internal
- 'DP-3'
- 'DP-1'
- 'BOE'
- 'DP-1' # right port
# 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.