From dea17327274f5add917059f161eb095483b790ab Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Sat, 13 Apr 2024 12:49:32 +0200 Subject: [PATCH] config: various updates --- .config/doom/config.el | 3 +++ .config/git/config | 2 +- .config/mimeapps.list##user.janek | 2 ++ .config/sway/config.d/touchpad.conf | 7 +++++++ .config/topgrade.d/topgrade.toml | 2 +- .config/way-displays/cfg.yaml##default | 9 +++++---- 6 files changed, 19 insertions(+), 6 deletions(-) diff --git a/.config/doom/config.el b/.config/doom/config.el index 4e474b1..6c6d943 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -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")) diff --git a/.config/git/config b/.config/git/config index 42cba88..312716f 100644 --- a/.config/git/config +++ b/.config/git/config @@ -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) diff --git a/.config/mimeapps.list##user.janek b/.config/mimeapps.list##user.janek index 74fdfa2..ea70747 100644 --- a/.config/mimeapps.list##user.janek +++ b/.config/mimeapps.list##user.janek @@ -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 diff --git a/.config/sway/config.d/touchpad.conf b/.config/sway/config.d/touchpad.conf index 7071774..9ac411d 100644 --- a/.config/sway/config.d/touchpad.conf +++ b/.config/sway/config.d/touchpad.conf @@ -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 +#} diff --git a/.config/topgrade.d/topgrade.toml b/.config/topgrade.d/topgrade.toml index d3a2e7f..614be0a 100644 --- a/.config/topgrade.d/topgrade.toml +++ b/.config/topgrade.d/topgrade.toml @@ -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 diff --git a/.config/way-displays/cfg.yaml##default b/.config/way-displays/cfg.yaml##default index 87f365f..86e46f0 100644 --- a/.config/way-displays/cfg.yaml##default +++ b/.config/way-displays/cfg.yaml##default @@ -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.