Dotfiles V1.1.1

Updated sketchybar and tmux config
This commit is contained in:
JirR02 2025-03-14 10:34:28 +01:00
parent 233daaf97d
commit b2be253bfb
6 changed files with 45 additions and 89 deletions

View File

@ -20,6 +20,10 @@
\def\questiontitle{Frage} \def\questiontitle{Frage}
\def\wrongctitle{Wrong Concept} \def\wrongctitle{Wrong Concept}
\def\wrongctitle{Falscher Konzept} \def\wrongctitle{Falscher Konzept}
\def\pagetitle{Page}
\def\pagetitle{Seite}
\def\chaptertitle{Chapter}
\def\pagetitle{Kapitel}
\input{preamble} \input{preamble}
\input{macros} \input{macros}

View File

@ -2,6 +2,7 @@
% PACKAGE IMPORTS % PACKAGE IMPORTS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% TODO: Uncomment if the paper is in German
% \usepackage[ngerman]{babel} % \usepackage[ngerman]{babel}
\usepackage[tmargin=2cm,rmargin=1in,lmargin=1in,margin=0.85in,bmargin=2cm,footskip=.2in]{geometry} \usepackage[tmargin=2cm,rmargin=1in,lmargin=1in,margin=0.85in,bmargin=2cm,footskip=.2in]{geometry}
\usepackage{amsmath,amsfonts,amsthm,amssymb,mathtools} \usepackage{amsmath,amsfonts,amsthm,amssymb,mathtools}
@ -55,8 +56,6 @@
% SELF MADE COLORS % SELF MADE COLORS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\definecolor{myg}{RGB}{56, 140, 70} \definecolor{myg}{RGB}{56, 140, 70}
\definecolor{myb}{RGB}{45, 111, 177} \definecolor{myb}{RGB}{45, 111, 177}
\definecolor{myr}{RGB}{199, 68, 64} \definecolor{myr}{RGB}{199, 68, 64}
@ -84,7 +83,8 @@
% TCOLORBOX SETUPS % TCOLORBOX SETUPS
%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setlength{\parindent}{1cm} \setlength{\parindent}{0cm}
%================================ %================================
% THEOREM BOX % THEOREM BOX
%================================ %================================
@ -144,9 +144,11 @@
,separator sign none ,separator sign none
} }
%================================ %================================
% Corollery % Corollery
%================================ %================================
\tcbuselibrary{theorems,skins,hooks} \tcbuselibrary{theorems,skins,hooks}
\newtcbtheorem[number within=section]{Corollary}{\corollarytitle} \newtcbtheorem[number within=section]{Corollary}{\corollarytitle}
{% {%
@ -648,18 +650,18 @@
\newsavebox\diffdbox \newsavebox\diffdbox
\newcommand{\slantedromand}{{\mathpalette\makesl{d}}} \newcommand{\slantedromand}{{\mathpalette\makesl{d}}}
\newcommand{\makesl}[2]{% \newcommand{\makesl}[2]{%
\begingroup \begingroup
\sbox{\diffdbox}{$\mathsurround=0pt#1\mathrm{#2}$}% \sbox{\diffdbox}{$\mathsurround=0pt#1\mathrm{#2}$}%
\pdfsave \pdfsave
\pdfsetmatrix{1 0 0.2 1}% \pdfsetmatrix{1 0 0.2 1}%
\rlap{\usebox{\diffdbox}}% \rlap{\usebox{\diffdbox}}%
\pdfrestore \pdfrestore
\hskip\wd\diffdbox \hskip\wd\diffdbox
\endgroup \endgroup
} }
\newcommand{\dd}[1][]{\ensuremath{\mathop{}\!\ifstrempty{#1}{% \newcommand{\dd}[1][]{\ensuremath{\mathop{}\!\ifstrempty{#1}{%
\slantedromand\@ifnextchar^{\hspace{0.2ex}}{\hspace{0.1ex}}}% \slantedromand\@ifnextchar^{\hspace{0.2ex}}{\hspace{0.1ex}}}%
{\slantedromand\hspace{0.2ex}^{#1}}}} {\slantedromand\hspace{0.2ex}^{#1}}}}
\ProvideDocumentCommand\dv{o m g}{% \ProvideDocumentCommand\dv{o m g}{%
\ensuremath{% \ensuremath{%
\IfValueTF{#3}{% \IfValueTF{#3}{%
@ -692,44 +694,6 @@
\renewcommand{\leq}{\leqslant} \renewcommand{\leq}{\leqslant}
\renewcommand{\geq}{\geqslant} \renewcommand{\geq}{\geqslant}
% % redefine matrix env to allow for alignment, use r as default
% \renewcommand*\env@matrix[1][r]{\hskip -\arraycolsep
% \let\@ifnextchar\new@ifnextchar
% \array{*\c@MaxMatrixCols #1}}
%\usepackage{framed}
%\usepackage{titletoc}
%\usepackage{etoolbox}
%\usepackage{lmodern}
%\patchcmd{\tableofcontents}{\contentsname}{\sffamily\contentsname}{}{}
%\renewenvironment{leftbar}
%{\def\FrameCommand{\hspace{6em}%
% {\color{myyellow}\vrule width 2pt depth 6pt}\hspace{1em}}%
% \MakeFramed{\parshape 1 0cm \dimexpr\textwidth-6em\relax\FrameRestore}\vskip2pt%
%}
%{\endMakeFramed}
%\titlecontents{chapter}
%[0em]{\vspace*{2\baselineskip}}
%{\parbox{4.5em}{%
% \hfill\Huge\sffamily\bfseries\color{myred}\thecontentspage}%
% \vspace*{-2.3\baselineskip}\leftbar\textsc{\small\chaptername~\thecontentslabel}\\\sffamily}
%{}{\endleftbar}
%\titlecontents{section}
%[8.4em]
%{\sffamily\contentslabel{3em}}{}{}
%{\hspace{0.5em}\nobreak\itshape\color{myred}\contentspage}
%\titlecontents{subsection}
%[8.4em]
%{\sffamily\contentslabel{3em}}{}{}
%{\hspace{0.5em}\nobreak\itshape\color{myred}\contentspage}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% TABLE OF CONTENTS % TABLE OF CONTENTS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@ -742,11 +706,11 @@
{\addvspace{30pt}% {\addvspace{30pt}%
\begin{tikzpicture}[remember picture, overlay]% \begin{tikzpicture}[remember picture, overlay]%
\draw[fill=doc!60,draw=doc!60] (-7,-.1) rectangle (-0.9,.5);% \draw[fill=doc!60,draw=doc!60] (-7,-.1) rectangle (-0.9,.5);%
\pgftext[left,x=-3.5cm,y=0.2cm]{\color{white}\Large\sc\bfseries Chapter\ \thecontentslabel};% \pgftext[left,x=-3.5cm,y=0.2cm]{\color{white}\Large\sc\bfseries \chaptertitle\ \thecontentslabel};%
\end{tikzpicture}\color{doc!60}\large\sc\bfseries}% \end{tikzpicture}\color{doc!60}\large\sc\bfseries}%
{} {}
{} {}
{\;\titlerule\;\large\sc\bfseries Page \thecontentspage {\;\titlerule\;\large\sc\bfseries \pagetitle \thecontentspage
\begin{tikzpicture}[remember picture, overlay] \begin{tikzpicture}[remember picture, overlay]
\draw[fill=doc!60,draw=doc!60] (2pt,0) rectangle (4,0.1pt); \draw[fill=doc!60,draw=doc!60] (2pt,0) rectangle (4,0.1pt);
\end{tikzpicture}}% \end{tikzpicture}}%

View File

@ -2,7 +2,7 @@
sketchybar --add event aerospace_workspace_change sketchybar --add event aerospace_workspace_change
SPACE_STRS=(   󰏆   󰐫 ) SPACE_STRS=(   󰏆   󰐫 )
for str in "${SPACE_STRS[@]}" for str in "${SPACE_STRS[@]}"
do do

View File

@ -61,8 +61,6 @@ set -g @plugin 'christoomey/vim-tmux-navigator' # vim-like navigation
set -g @plugin 'catppuccin/tmux' # Theme set -g @plugin 'catppuccin/tmux' # Theme
set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum' set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'omerxx/tmux-sessionx'
set -g @plugin 'sainnhe/tmux-fzf'
############################################################# #############################################################
# Catppuccin config # # Catppuccin config #
@ -94,12 +92,5 @@ set -ag status-right "#{E:@catppuccin_status_date_time}"
set -g @resurrect-capture-pane-contents 'on' set -g @resurrect-capture-pane-contents 'on'
set -g @continuum-restore 'on' set -g @continuum-restore 'on'
###################
# Sessionx config #
###################
unbind s
set -g @sessionx-bind 's'
run '~/.config/tmux/plugins/tpm/tpm' run '~/.config/tmux/plugins/tpm/tpm'

10
.gitignore vendored
View File

@ -1,7 +1,7 @@
# Exclude following Files # Exclude following Files
./.config/raycast .config/raycast
./.config/macchina/ .config/macchina/
./.config/kicad-db-lib/ .config/kicad-db-lib/
./.config/kicad/ .config/kicad/
./.config/tmux/plugins/ .config/tmux/plugins/

3
.gitmodules vendored
View File

@ -1,3 +0,0 @@
[submodule ".config/kicad/lib/kicad-footprints"]
path = .config/kicad/lib/kicad-footprints
url = https://gitlab.com/kicad/libraries/kicad-footprints.git