From 681a0f19f87f1ca7d2b398412ff96eb2a035dbfc Mon Sep 17 00:00:00 2001 From: spinach <19keegandeppe@gmail.com> Date: Wed, 15 Mar 2023 15:34:19 -0400 Subject: [PATCH] auto recognize i3 config and utilize volume knob by lowering volume control in i3 --- .gitmodules | 3 +++ editors/nvim/config/init.lua | 1 + editors/nvim/config/lua/i3conf.lua | 6 ++++++ editors/nvim/config/spell/en.utf-8.add | 3 +++ editors/nvim/config/spell/en.utf-8.add.spl | Bin 34 -> 70 bytes editors/nvim/site/pack/qol/start/vim-startuptime | 1 + gui/i3/base.conf | 8 ++++---- 7 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 editors/nvim/config/lua/i3conf.lua create mode 160000 editors/nvim/site/pack/qol/start/vim-startuptime diff --git a/.gitmodules b/.gitmodules index 92b311a..de5f040 100644 --- a/.gitmodules +++ b/.gitmodules @@ -113,3 +113,6 @@ [submodule "editors/nvim/site/pack/qol/start/vim-fugitive"] path = editors/nvim/site/pack/qol/start/vim-fugitive url = https://github.com/tpope/vim-fugitive.git +[submodule "editors/nvim/site/pack/qol/start/vim-startuptime"] + path = editors/nvim/site/pack/qol/start/vim-startuptime + url = https://github.com/dstein64/vim-startuptime.git diff --git a/editors/nvim/config/init.lua b/editors/nvim/config/init.lua index 6416005..a4ad24a 100644 --- a/editors/nvim/config/init.lua +++ b/editors/nvim/config/init.lua @@ -1,6 +1,7 @@ require('keymap') require('plugins') require('calcurse') +require('i3conf') -- prevent cursor override vim.cmd('set guicursor=') diff --git a/editors/nvim/config/lua/i3conf.lua b/editors/nvim/config/lua/i3conf.lua new file mode 100644 index 0000000..dd69d68 --- /dev/null +++ b/editors/nvim/config/lua/i3conf.lua @@ -0,0 +1,6 @@ +-- recognize i3 config from dotfiles +-- +vim.api.nvim_create_autocmd({"BufRead","BufNewFile"}, { + pattern = {"*/i3/*.conf"}, + command = "set filetype=i3config", +}) diff --git a/editors/nvim/config/spell/en.utf-8.add b/editors/nvim/config/spell/en.utf-8.add index 1e36f18..dac80cf 100644 --- a/editors/nvim/config/spell/en.utf-8.add +++ b/editors/nvim/config/spell/en.utf-8.add @@ -1,2 +1,5 @@ L2 L3 +Pset +Kalynn +Appt diff --git a/editors/nvim/config/spell/en.utf-8.add.spl b/editors/nvim/config/spell/en.utf-8.add.spl index 0bb70cc17e89f9343b2c9c99d9fbc2654d58e85a..7ea7764a54f5e56ef655194ff7041188a697672b 100644 GIT binary patch literal 70 zcmWIZ^erw(&B-zP&%nSS$C8+xQ@{v