From dfefb45564a67f79a68c274939a9a31741e8b9b7 Mon Sep 17 00:00:00 2001 From: foo-dogsquared Date: Sun, 25 Aug 2019 00:25:57 +0800 Subject: [PATCH] Update i3 and UltiSnips snippets --- i3/config | 4 ++++ vim/.vim/own-snippets/tex.snippets | 29 +++++++++++++++++++++++++++-- 2 files changed, 31 insertions(+), 2 deletions(-) diff --git a/i3/config b/i3/config index e132a21..e2e3165 100644 --- a/i3/config +++ b/i3/config @@ -156,6 +156,10 @@ bindsym Control+Print exec ~/.scripts/maim-screenshot.sh --select bindsym Shift+Print exec ~/.scripts/maim-screenshot.sh --delay 3 bindsym Control+Shift+Print exec ~/.scripts/maim-screenshot.sh --select --delay 3 +# Screen record (Alt + Print) +bindsym $mod+Print exec ~/.scripts/screen-record.sh --scene barless-screen +bindsym $mod+Shift+Print exec ~/.scripts/screen-record.sh --scene fullscreen + # Define names for default workspaces for which we configure key bindings later on. # We use variables to avoid repeating the names in multiple places. set $web_ws "1" diff --git a/vim/.vim/own-snippets/tex.snippets b/vim/.vim/own-snippets/tex.snippets index a47445e..0542764 100644 --- a/vim/.vim/own-snippets/tex.snippets +++ b/vim/.vim/own-snippets/tex.snippets @@ -165,6 +165,30 @@ snippet ref "Create a reference for a label" bi \ref{${1: