From f119622e66a00e3ecf26dca7e7d94ce0e1cdedfc Mon Sep 17 00:00:00 2001 From: Marco Thomas Date: Mon, 17 May 2021 11:34:06 +0200 Subject: [PATCH] Update dots --- README.md | 4 ++-- files/.tmux/.tmux | 1 + files/init.el | 35 +++++++++++++++++++++++++++++++++++ files/linkdots.sh | 4 ++++ files/org/notes.org | 28 ++++++++++++++++++++++++++++ files/scripts/scripts | 1 + 6 files changed, 71 insertions(+), 2 deletions(-) create mode 120000 files/.tmux/.tmux create mode 100644 files/org/notes.org create mode 120000 files/scripts/scripts diff --git a/README.md b/README.md index 59ad77b..bc6c9e7 100644 --- a/README.md +++ b/README.md @@ -28,9 +28,9 @@ + [Nordic](https://github.com/EliverLara/Nordic): GTK Theme + [asetroot](https://github.com/Wilnath/asetroot): animated wallpaper + [i3-swallow](https://github.com/jamesofarrell/i3-swallow): swallow terminal (not used anymore) -+ [neovim-remote](https://github.com/mhinz/neovim-remote): zathura integration ++ [neovim-remote](https://github.com/mhinz/neovim-remote): zathura integration for nvim (unused) + [vim-plug](https://github.com/junegunn/vim-plug): vim plugin manager -+ fcitx + mozc: Japanese Keyboard - [Install](https://www.youtube.com/watch?v=lJoXhS4EUJs) - fcitx-im fcitx-configtool fcitx-mozc ++ fcitx + mozc: Japanese Keyboard - [Install](https://www.youtube.com/watch?v=lJoXhS4EUJs) - fcitx fcitx-qt5 fcitx-configtool fcitx-mozc + fzf: fuzzy file finder + light: background light control + pactl: volume control diff --git a/files/.tmux/.tmux b/files/.tmux/.tmux new file mode 120000 index 0000000..6c4209e --- /dev/null +++ b/files/.tmux/.tmux @@ -0,0 +1 @@ +/home/marc/dots/files/.tmux \ No newline at end of file diff --git a/files/init.el b/files/init.el index d9743b7..3a5bc7a 100644 --- a/files/init.el +++ b/files/init.el @@ -409,6 +409,41 @@ (haskell-mode . lsp) (haskell-literate-mode . lsp)) +;; custom +(use-package math-symbol-lists + :ensure t + :config + (quail-define-package "math" "UTF-8" "Ω" t) + (quail-define-rules ; add whatever extra rules you want to define here... + ; Equality + ("<=" ?≤) + (">=" ?≥) + ("~=" ?≠) + ; Logic + ("~" ?¬) + ("->" ?→) + ("=>" ?⇒) + ("<->" ?↔) + ("<=>" ?⇔) + ("/\\" ?∧) + ("\\/" ?∨) + ; Predicate Logic + ("ALL" ?∀) + ("EX" ?∃) + ; sets of numbers + ("\\nats" ?ℕ) + ("\\ints" ?ℤ) + ("\\rats" ?ℚ) + ("\\reals" ?ℝ) + ("\\complex" ?ℂ) + ("\\primes" ?ℙ) + ) + (mapc (lambda (x) + (if (cddr x) + (quail-defrule (cadr x) (car (cddr x))))) + (append math-symbol-list-basic math-symbol-list-extended)) + ) + (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. diff --git a/files/linkdots.sh b/files/linkdots.sh index 0916cf8..6ab8e26 100755 --- a/files/linkdots.sh +++ b/files/linkdots.sh @@ -5,8 +5,10 @@ path=$(pwd) # --- home --- # home_files="scripts .bashrc .zshrc .gitconfig .tmux .tmux.conf .vimrc .Xresources .xinitrc" + for file in $home_files do + # rm, so folders also get updated rm -rf $HOME/$file ln -sf $path/$file $HOME/$file done @@ -21,8 +23,10 @@ ln -sf $HOME/.xinitrc $HOME/.xsession # --- .config --- # conf_files="alacritty dunst nvim picom.conf ranger zathura" + for file in $conf_files do + # rm, so folders also get updated rm -rf $HOME/.config/$file ln -sf $path/.config/$file $HOME/.config/$file done diff --git a/files/org/notes.org b/files/org/notes.org new file mode 100644 index 0000000..720e8db --- /dev/null +++ b/files/org/notes.org @@ -0,0 +1,28 @@ +#+LaTeX_CLASS: article +#+LaTeX_CLASS_OPTIONS: [letterpaper] +#+LANGUAGE: de +#+OPTIONS: toc:t + +#+LATEX_HEADER: \usepackage{mathtools} +#+LATEX_HEADER: \usepackage{amsthm} +#+LATEX_HEADER: \usepackage{amssymb} +#+LATEX_HEADER: \usepackage{amsmath} +#+LATEX_HEADER: \usepackage[utf8]{inputenc} +#+LATEX_HEADER: \usepackage[T1]{fontenc} +#+LATEX_HEADER: \usepackage[ngerman]{babel} +#+LATEX_HEADER: \usepackage{hyphenat} +#+LATEX_HEADER: \usepackage{tikz} +#+LATEX_HEADER: \usepackage{graphicx} +#+LATEX_HEADER: \usepackage{listings} +#+LATEX_HEADER: \usepackage{color} +#+LATEX_HEADER: \usepackage{proof} + +#+LATEX_HEADER: \theoremstyle{definition} +#+LATEX_HEADER: \newtheorem{def}{Definition}[section] +#+LATEX_HEADER: \newtheorem{theorem}{Satz}[section] + +#+LATEX_HEADER: \theoremstyle{algo} +#+LATEX_HEADER: \newtheorem{algo}{Algorithmus}[section] +#+LATEX_HEADER: \newtheorem*{remark}{Bemerkung} + +#+LATEX_HEADER: \date{\today} diff --git a/files/scripts/scripts b/files/scripts/scripts new file mode 120000 index 0000000..9eb43b6 --- /dev/null +++ b/files/scripts/scripts @@ -0,0 +1 @@ +/home/marc/dots/files/scripts \ No newline at end of file