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\wrongctitle{Wrong Concept}
\def\wrongctitle{Falscher Konzept}
\def\pagetitle{Page}
\def\pagetitle{Seite}
\def\chaptertitle{Chapter}
\def\pagetitle{Kapitel}
\input{preamble}
\input{macros}

View File

@ -2,6 +2,7 @@
% PACKAGE IMPORTS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% TODO: Uncomment if the paper is in German
% \usepackage[ngerman]{babel}
\usepackage[tmargin=2cm,rmargin=1in,lmargin=1in,margin=0.85in,bmargin=2cm,footskip=.2in]{geometry}
\usepackage{amsmath,amsfonts,amsthm,amssymb,mathtools}
@ -55,8 +56,6 @@
% SELF MADE COLORS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\definecolor{myg}{RGB}{56, 140, 70}
\definecolor{myb}{RGB}{45, 111, 177}
\definecolor{myr}{RGB}{199, 68, 64}
@ -84,7 +83,8 @@
% TCOLORBOX SETUPS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setlength{\parindent}{1cm}
\setlength{\parindent}{0cm}
%================================
% THEOREM BOX
%================================
@ -144,9 +144,11 @@
,separator sign none
}
%================================
% Corollery
%================================
\tcbuselibrary{theorems,skins,hooks}
\newtcbtheorem[number within=section]{Corollary}{\corollarytitle}
{%
@ -692,44 +694,6 @@
\renewcommand{\leq}{\leqslant}
\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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@ -742,11 +706,11 @@
{\addvspace{30pt}%
\begin{tikzpicture}[remember picture, overlay]%
\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}%
{}
{}
{\;\titlerule\;\large\sc\bfseries Page \thecontentspage
{\;\titlerule\;\large\sc\bfseries \pagetitle \thecontentspage
\begin{tikzpicture}[remember picture, overlay]
\draw[fill=doc!60,draw=doc!60] (2pt,0) rectangle (4,0.1pt);
\end{tikzpicture}}%

View File

@ -2,7 +2,7 @@
sketchybar --add event aerospace_workspace_change
SPACE_STRS=(   󰏆   󰐫 )
SPACE_STRS=(   󰏆   󰐫 )
for str in "${SPACE_STRS[@]}"
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 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'omerxx/tmux-sessionx'
set -g @plugin 'sainnhe/tmux-fzf'
#############################################################
# Catppuccin config #
@ -94,12 +92,5 @@ set -ag status-right "#{E:@catppuccin_status_date_time}"
set -g @resurrect-capture-pane-contents 'on'
set -g @continuum-restore 'on'
###################
# Sessionx config #
###################
unbind s
set -g @sessionx-bind 's'
run '~/.config/tmux/plugins/tpm/tpm'

10
.gitignore vendored
View File

@ -1,7 +1,7 @@
# Exclude following Files
./.config/raycast
./.config/macchina/
./.config/kicad-db-lib/
./.config/kicad/
./.config/tmux/plugins/
.config/raycast
.config/macchina/
.config/kicad-db-lib/
.config/kicad/
.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