general: small fixes

This commit is contained in:
Marco Thomas
2022-08-22 11:59:42 +02:00
parent 32b4699199
commit 054c23624b
3 changed files with 26 additions and 2 deletions

View File

@@ -18,3 +18,4 @@
lg = log --oneline --decorate --graph
yoink = pull
yeet = push
b = blame --color-by-age -L

View File

@@ -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

View File

@@ -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}