From 054c23624bca09fc18b792367874cfcf52ca7a27 Mon Sep 17 00:00:00 2001 From: Marco Thomas Date: Mon, 22 Aug 2022 11:59:42 +0200 Subject: [PATCH] general: small fixes --- files/git/.gitconfig | 1 + files/sway/.config/sway/config | 4 ++-- presets/presentations.tex | 23 +++++++++++++++++++++++ 3 files changed, 26 insertions(+), 2 deletions(-) diff --git a/files/git/.gitconfig b/files/git/.gitconfig index 1ce81c1..cb22708 100644 --- a/files/git/.gitconfig +++ b/files/git/.gitconfig @@ -18,3 +18,4 @@ lg = log --oneline --decorate --graph yoink = pull yeet = push + b = blame --color-by-age -L diff --git a/files/sway/.config/sway/config b/files/sway/.config/sway/config index 083fb01..fc74dd9 100644 --- a/files/sway/.config/sway/config +++ b/files/sway/.config/sway/config @@ -145,8 +145,8 @@ bindswitch --reload --locked lid:off output $laptop enable bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% && $SHOW_VOL set $SHOW_MUTE_OUT notify-send "Audio Output" "$(pactl get-sink-mute @DEFAULT_SINK@)" -i speaker set $SHOW_MUTE_IN notify-send "Microphone" "$(pactl get-source-mute @DEFAULT_SOURCE@)" -i microphone - bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle - bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle + bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle && $SHOW_MUTE_IN + bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle && $SHOW_MUTE_OUT # Moving around: # Move your focus around diff --git a/presets/presentations.tex b/presets/presentations.tex index 17c701d..877357d 100644 --- a/presets/presentations.tex +++ b/presets/presentations.tex @@ -19,6 +19,29 @@ \usepackage{color} \usepackage{proof} +%%% show subsection title frames +\AtBeginPart{ +\let\insertpartnumber\relax +\let\partname\relax +\begin{frame}[tocframe] +\partpage +\end{frame} +} +\AtBeginSection{ +\let\insertsectionnumber\relax +\let\sectionname\relax +\begin{frame}[tocframe] +\sectionpage +\end{frame} +} +\AtBeginSubsection{ +\let\insertsubsectionnumber\relax +\let\subsectionname\relax +\begin{frame}[tocframe] +\subsectionpage +\end{frame} +} + %%% source code \usepackage{listings} \usepackage{minted}