From 3cd8cefb0a56de2f4f213b500647d3cb678d2242 Mon Sep 17 00:00:00 2001 From: foo-dogsquared Date: Sat, 14 Sep 2019 20:58:12 +0800 Subject: [PATCH] Update compton, GTK3, rofi, vim, and UltiSnips snippets (from Vim) --- compton/compton.conf | 2 +- gtk3/settings.ini | 2 +- rofi/fds-sidebar-common.rasi | 2 +- vim/.vim/own-snippets/tex.snippets | 64 +++++++++++++++++++++++++++--- vim/.vimrc | 10 +++-- 5 files changed, 68 insertions(+), 12 deletions(-) diff --git a/compton/compton.conf b/compton/compton.conf index 2da8fc7..f0073c2 100644 --- a/compton/compton.conf +++ b/compton/compton.conf @@ -110,7 +110,7 @@ frame-opacity = 1; inactive-opacity-override = false; # Dim inactive windows. (0.0 - 1.0) -inactive-dim = 0.3; +inactive-dim = 0.5; # Do not let dimness adjust based on window opacity. # inactive-dim-fixed = true; diff --git a/gtk3/settings.ini b/gtk3/settings.ini index 6f0d9fb..2f195a3 100644 --- a/gtk3/settings.ini +++ b/gtk3/settings.ini @@ -1,7 +1,7 @@ [Settings] gtk-theme-name=Arc-Darker gtk-icon-theme-name=Arc -gtk-font-name=Noto Sans 11 +gtk-font-name=Fira Code weight=453 11 gtk-cursor-theme-name=Adwaita gtk-cursor-theme-size=0 gtk-toolbar-style=GTK_TOOLBAR_BOTH diff --git a/rofi/fds-sidebar-common.rasi b/rofi/fds-sidebar-common.rasi index bf2943a..efe9f17 100644 --- a/rofi/fds-sidebar-common.rasi +++ b/rofi/fds-sidebar-common.rasi @@ -13,7 +13,7 @@ window { background-color: transparent; height: 100%; - width: 35%; + width: 40%; position: northwest; location: northwest; text-color: @foreground; diff --git a/vim/.vim/own-snippets/tex.snippets b/vim/.vim/own-snippets/tex.snippets index 0542764..133818c 100644 --- a/vim/.vim/own-snippets/tex.snippets +++ b/vim/.vim/own-snippets/tex.snippets @@ -169,6 +169,10 @@ snippet eqref "Quick equation reference command" wi Equation \ref{eq:$1} $0 endsnippet +snippet theoref "Quick theorem reference command" wi +Theorem \ref{th:$1} $0 +endsnippet + snippet figref "Quick figure reference command" wi figure \ref{fig:$1} $0 endsnippet @@ -189,6 +193,14 @@ snippet subsecref "Quick subsection reference command" wi subsection \ref{subsec:$1} $0 endsnippet +snippet propref "Quick property reference command" wi +Property \ref{prop:$1} $0 +endsnippet + +snippet defref "Quick definition reference command" wi +Definition \ref{def:$1} $0 +endsnippet + snippet foot "Footnote" w \footnote{${1:}} $0 endsnippet @@ -201,7 +213,7 @@ $2 $0 endsnippet -snippet ml "Math mode (inline)" i +snippet mi "Math mode (inline)" i $${1}$`!p smart_space(t[2])`$2 endsnippet @@ -865,6 +877,26 @@ snippet al "Reference links with label" iw \autoref{${1: