diff options
-rw-r--r-- | nvim/.config/nvim/after/ftplugin/plaintex.lua | 3 | ||||
-rw-r--r-- | nvim/.config/nvim/lua/plugins/init.lua | 2 | ||||
-rw-r--r-- | nvim/.config/nvim/lua/tobyvin/lsp/configs.lua | 3 | ||||
-rw-r--r-- | sway/.config/sway/config | 7 | ||||
-rw-r--r-- | zathura/.config/zathura/base16-gruvbox-dark-hard.config | 69 | ||||
-rw-r--r-- | zsh/.config/zsh/.zshrc | 2 |
6 files changed, 51 insertions, 35 deletions
diff --git a/nvim/.config/nvim/after/ftplugin/plaintex.lua b/nvim/.config/nvim/after/ftplugin/plaintex.lua new file mode 100644 index 0000000..8ddcaee --- /dev/null +++ b/nvim/.config/nvim/after/ftplugin/plaintex.lua @@ -0,0 +1,3 @@ +vim.opt_local.formatoptions:remove("c") +vim.opt_local.formatoptions:append("a") +vim.opt_local.textwidth = 79 diff --git a/nvim/.config/nvim/lua/plugins/init.lua b/nvim/.config/nvim/lua/plugins/init.lua index 6d0b709..9114d9d 100644 --- a/nvim/.config/nvim/lua/plugins/init.lua +++ b/nvim/.config/nvim/lua/plugins/init.lua @@ -28,7 +28,7 @@ local M = { { "f3fora/nvim-texlabconfig", version = false, - build = "go build -o ~/.local/bin", + build = "go build -o /home/tobyv/.local/bin/", ft = { "tex", "bib" }, opts = {}, }, diff --git a/nvim/.config/nvim/lua/tobyvin/lsp/configs.lua b/nvim/.config/nvim/lua/tobyvin/lsp/configs.lua index 99663a8..c9508a6 100644 --- a/nvim/.config/nvim/lua/tobyvin/lsp/configs.lua +++ b/nvim/.config/nvim/lua/tobyvin/lsp/configs.lua @@ -190,6 +190,7 @@ local M = { settings = { texlab = { build = { + forwardSearchAfter = true, args = { "-interaction=nonstopmode", "-synctex=1", @@ -201,7 +202,7 @@ local M = { executable = "zathura", args = { "--synctex-editor-command", - [[nvim-texlabconfig -file '%{input}' -line %{line}]], + [[nvim-texlabconfig -file '%%%{input}' -line %%%{line} -server ]] .. vim.v.servername, "--synctex-forward", "%l:1:%f", "%p", diff --git a/sway/.config/sway/config b/sway/.config/sway/config index 24183bc..2b9cb4e 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -78,9 +78,12 @@ for_window [class="^steam$" title="^Steam$"] floating disable for_window [class="^steam$" title="^Sign in to Steam$"] move to scratchpad for_window [class="^steam_app_252950$" title="^Rocket League.*"] floating disable for_window [app_id="firefox" title="Firefox — Sharing Indicator"] kill -for_window [app_id="deno" title="^Peek preview$"] resize set width 980px for_window [app_id="zoom" title="^(About|Settings)$"] floating enable +for_window [app_id="deno" title="^Peek preview$"] resize set width 980px, urgent deny +for_window [app_id="org.pwmt.zathura" title="^/home/tobyv/.local/src/"] resize set width 980px, urgent deny +no_focus [app_id="deno" title="^Peek preview$"] +no_focus [app_id="org.pwmt.zathura" title="^/home/tobyv/.local/src/"] assign [class="^steam$" title="^Steam$"] $ws03 assign [class="^steam_app_\d+$" instance="^steam_app_\d+$"] $ws03 @@ -89,8 +92,6 @@ assign [app_id="mpv"] $ws07 assign [app_id="discord"] $ws08 assign [app_id="vesktop"] $ws08 -no_focus [app_id="deno" title="^Peek preview$"] - input type:pointer { accel_profile flat } diff --git a/zathura/.config/zathura/base16-gruvbox-dark-hard.config b/zathura/.config/zathura/base16-gruvbox-dark-hard.config index e251323..995ba72 100644 --- a/zathura/.config/zathura/base16-gruvbox-dark-hard.config +++ b/zathura/.config/zathura/base16-gruvbox-dark-hard.config @@ -1,32 +1,43 @@ # Base16 Gruvbox dark, hard # Author: Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox) -set default-bg "#1d2021" -set default-fg "#3c3836" - -set statusbar-fg "#bdae93" -set statusbar-bg "#504945" - -set inputbar-bg "#1d2021" -set inputbar-fg "#fbf1c7" - -set notification-bg "#1d2021" -set notification-fg "#fbf1c7" - -set notification-error-bg "#1d2021" -set notification-error-fg "#fb4934" - -set notification-warning-bg "#1d2021" -set notification-warning-fg "#fb4934" - -set highlight-color "#fabd2f" -set highlight-active-color "#83a598" - -set completion-bg "#3c3836" -set completion-fg "#83a598" - -set completion-highlight-fg "#fbf1c7" -set completion-highlight-bg "#83a598" - -set recolor-lightcolor "#1d2021" -set recolor-darkcolor "#ebdbb2" +set notification-error-bg "rgba(29,32,33,1)" # bg +set notification-error-fg "rgba(251,73,52,1)" # bright:red +set notification-warning-bg "rgba(29,32,33,1)" # bg +set notification-warning-fg "rgba(250,189,47,1)" # bright:yellow +set notification-bg "rgba(29,32,33,1)" # bg +set notification-fg "rgba(184,187,38,1)" # bright:green + +set completion-bg "rgba(80,73,69,1)" # bg2 +set completion-fg "rgba(235,219,178,1)" # fg +set completion-group-bg "rgba(60,56,54,1)" # bg1 +set completion-group-fg "rgba(146,131,116,1)" # gray +set completion-highlight-bg "rgba(131,165,152,1)" # bright:blue +set completion-highlight-fg "rgba(80,73,69,1)" # bg2 + +# Define the color in index mode +set index-bg "rgba(80,73,69,1)" # bg2 +set index-fg "rgba(235,219,178,1)" # fg +set index-active-bg "rgba(131,165,152,1)" # bright:blue +set index-active-fg "rgba(80,73,69,1)" # bg2 + +set inputbar-bg "rgba(29,32,33,1)" # bg +set inputbar-fg "rgba(235,219,178,1)" # fg + +set statusbar-bg "rgba(80,73,69,1)" # bg2 +set statusbar-fg "rgba(235,219,178,1)" # fg + +set highlight-color "rgba(250,189,47,0.5)" # bright:yellow +set highlight-active-color "rgba(254,128,25,0.5)" # bright:orange + +set default-bg "rgba(29,32,33,1)" # bg +set default-fg "rgba(235,219,178,1)" # fg +set render-loading true +set render-loading-bg "rgba(29,32,33,1)" # bg +set render-loading-fg "rgba(235,219,178,1)" # fg + +# Recolor book content's color +set recolor-lightcolor "rgba(29,32,33,1)" # bg +set recolor-darkcolor "rgba(235,219,178,1)" # fg +set recolor "true" +set recolor-keephue "true" # keep original color diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index cc2cd5e..af626c1 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -63,7 +63,7 @@ bindkey -M vicmd '^[[3~' delete-char bindkey -M vicmd '^[[1;5C' forward-word bindkey -M vicmd '^[[1;5D' backward-word -alias ls='ls --human-readable --color=auto' +alias ls='ls --human-readable --color=auto --hyperlink=auto' alias ip='ip -color=auto' alias grep='grep --color=auto' alias diff='diff --color=auto' |