dotfiles

My personal dotfiles

commit ac2598d0449c9cb85f5f00fd06bd00ceaed26525
parent 8fd7473e8edc6baacf397bc019cb985d11b8e8d2
Author: Pablo <pablo-escobar@riseup.net>
Date:   Thu, 11 Feb 2021 01:59:57 +0000

Moved imports from LaTeX preambles to the common preamble and added the zathura configuration to the repo

Diffstat:
A.config/zathura/snazzy.conf | 22++++++++++++++++++++++
A.config/zathura/zathurarc | 29+++++++++++++++++++++++++++++
M.local/share/configs.list | 1+
M.local/share/texmf/tex/latex/preamble-beamer.tex | 17+++--------------
M.local/share/texmf/tex/latex/preamble-common.tex | 12++++++++++++
M.local/share/texmf/tex/latex/preamble.tex | 13+------------
6 files changed, 68 insertions(+), 26 deletions(-)
diff --git a/.config/zathura/snazzy.conf b/.config/zathura/snazzy.conf
@@ -0,0 +1,22 @@
+set default-bg                  "#282a36"
+set default-fg                  "#34353e"
+set statusbar-fg                "#a5a5a9"
+set statusbar-bg                "#43454f"
+set inputbar-bg                 "#282a36"
+set inputbar-fg                 "#f1f1f0"
+set notification-bg             "#282a36"
+set notification-fg             "#f1f1f0"
+set notification-error-bg       "#282a36"
+set notification-error-fg       "#ff5c57"
+set notification-warning-bg     "#282a36"
+set notification-warning-fg     "#ff5c57"
+set highlight-color             "#f3f99d"
+set highlight-active-color      "#57c7ff"
+set completion-bg               "#34353e"
+set completion-fg               "#57c7ff"
+set completion-highlight-fg     "#f1f1f0"
+set completion-highlight-bg     "#57c7ff"
+set recolor-lightcolor          "#282a36"
+set recolor-darkcolor           "#eff0eb"
+set recolor                     "false"
+set recolor-keephue             "false"
diff --git a/.config/zathura/zathurarc b/.config/zathura/zathurarc
@@ -0,0 +1,29 @@
+#           _   _                              
+#          | | | |                             
+#  ______ _| |_| |__  _   _ _ __ __ _ _ __ ___ 
+# |_  / _` | __| '_ \| | | | '__/ _` | '__/ __|
+#  / / (_| | |_| | | | |_| | | | (_| | | | (__ 
+# /___\__,_|\__|_| |_|\__,_|_|  \__,_|_|  \___|
+#
+# Pablo Emilio Escobar Gaviaria (C) 2020
+
+# Use the snazzy color-scheme
+include snazzy.conf
+
+# Automatically invert the colors
+set recolor                     true
+
+# Keybindins
+# map K zoom in
+# map J zoom out
+map _ zoom out
+map r reload
+map i recolor
+
+# Configure window-size
+set window-width 1366
+set window-height 736
+
+# Fit the the PDF in the window
+set adjust-open width
+
diff --git a/.local/share/configs.list b/.local/share/configs.list
@@ -17,3 +17,4 @@
 /home/pablo/.config/ranger/rifle.conf
 /home/pablo/.config/ranger/scope.sh
 /home/pablo/.config/tmux/tmux.conf
+/home/pablo/.config/zathura
diff --git a/.local/share/texmf/tex/latex/preamble-beamer.tex b/.local/share/texmf/tex/latex/preamble-beamer.tex
@@ -13,18 +13,9 @@
 % Pablo (C) 2020
 
 \documentclass[notheorems, 9pt]{beamer}
-\usepackage{amsmath, amssymb, amsthm, stmaryrd, mathrsfs, gensymb, dsfont}
-\usepackage{enumitem, xfrac, xcolor, cancel, multicol, tabularx, relsize}
-\usepackage{hyperref, cleveref, lipsum}
-\usepackage{xalgebra, xgeometry, functional, capitalgreekall}
-\usepackage[backend=biber]{biblatex}
-\usepackage{pgfplots, tikz, tikz-cd}
-\usepackage{graphicx, wrapfig}
-\usepackage{xparse}
-\usepackage[normalem]{ulem}
-\usepackage[brazil]{babel}
+\input{preamble-common}
 
-% TODO: Get the color from the beamer template
+% TODO: Get the color from the Beamer template
 \definecolor{marineblue}{RGB}{4, 6, 76}
 
 % Configure how link look
@@ -38,8 +29,6 @@
 \usetikzlibrary{calc, shadows.blur, shapes.geometric, patterns}
 \pgfplotsset{compat=1.16}
 
-\input{preamble-common}
-
 % Blockquotes
 \NewDocumentEnvironment{blockquote}{m O{Citação}}
     {\begin{block}{#2}}
@@ -70,6 +59,6 @@
 % Configure the spacing of columns in tables
 \setlength{\tabcolsep}{5pt}
 
-% Include references that aren't cyted anywhere
+% Include references that aren't cited anywhere
 \nocite{*}
 
diff --git a/.local/share/texmf/tex/latex/preamble-common.tex b/.local/share/texmf/tex/latex/preamble-common.tex
@@ -12,6 +12,18 @@
 %                                      
 % Pablo (C) 2020
 
+\usepackage{amsmath, amssymb, amsthm, stmaryrd, mathrsfs, gensymb, dsfont}
+\usepackage{enumitem, xfrac, xcolor, cancel, multicol, tabularx, relsize}
+\usepackage{hyperref, cleveref, lipsum}
+\usepackage{xalgebra, xgeometry, functional, capitalgreekall}
+\usepackage{ytableau}
+\usepackage[backend=biber]{biblatex}
+\usepackage{pgfplots, tikz, tikz-cd}
+\usepackage{graphicx, wrapfig}
+\usepackage{xparse}
+\usepackage[normalem]{ulem}
+\usepackage[brazil]{babel}
+
 % Use \blacksquare for \qed
 \renewcommand{\qedsymbol}{\ensuremath{\blacksquare}}
 
diff --git a/.local/share/texmf/tex/latex/preamble.tex b/.local/share/texmf/tex/latex/preamble.tex
@@ -9,23 +9,12 @@
 
 \documentclass[a4paper]{article}
 \usepackage[total={6in, 9in}]{geometry}
-\usepackage{amsmath, amssymb, amsthm, stmaryrd, mathrsfs, gensymb, dsfont}
-\usepackage{enumitem, xfrac, xcolor, cancel, multicol, tabularx, relsize}
-\usepackage{hyperref, cleveref, lipsum}
-\usepackage{xalgebra, functional, capitalgreekall}
-\usepackage{ytableau}
 \usepackage[exerciselabel=Exercício]{xexercise}
-\usepackage{pgfplots, tikz, tikz-cd}
-\usepackage{graphicx, wrapfig}
-\usepackage{xparse}
-\usepackage[normalem]{ulem}
-\usepackage[brazil]{babel}
+\input{preamble-common}
 
 % Configure the enumerate environment to use bold roman numerals
 \setenumerate[0]{label={\bfseries(\roman*)}}
 
-\input{preamble-common}
-
 % Useful theorem definitions
 \newtheorem{theorem}{Teorema}
 \newtheorem*{theorem*}{Teorema}