Compare commits
2 commits
d4085c80c2
...
aa66afe555
Author | SHA1 | Date | |
---|---|---|---|
aa66afe555 | |||
1956f79f2f |
4 changed files with 17 additions and 11 deletions
6
home/private_bin/executable_notes-commit
Normal file
6
home/private_bin/executable_notes-commit
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
GIT_DIR="${HOME}/stuff/notes"
|
||||||
|
notes
|
||||||
|
notify-send "$(git -C $GIT_DIR commit -m ":memo:" -- notes)"
|
||||||
|
|
|
@ -3,7 +3,7 @@ $mainMod = SUPER
|
||||||
# Program binds
|
# Program binds
|
||||||
bind = $mainMod SHIFT, RETURN, exec, wezterm
|
bind = $mainMod SHIFT, RETURN, exec, wezterm
|
||||||
bind = $mainMod, P, exec, ~/.config/rofi/bin/launcher.sh
|
bind = $mainMod, P, exec, ~/.config/rofi/bin/launcher.sh
|
||||||
bind = $mainMod, N, exec, wezterm start --class "notes-editor" -e notes
|
bind = $mainMod, N, exec, wezterm start --class "notes-editor" -e notes-commit
|
||||||
|
|
||||||
bind = $mainMod SHIFT, Q, killactive,
|
bind = $mainMod SHIFT, Q, killactive,
|
||||||
bind = $mainMod SHIFT, L, exec, lock
|
bind = $mainMod SHIFT, L, exec, lock
|
||||||
|
|
|
@ -15,7 +15,7 @@ require("lazy").setup({
|
||||||
{ import = "lazyvim.plugins.extras.lang.tex" },
|
{ import = "lazyvim.plugins.extras.lang.tex" },
|
||||||
{ import = "lazyvim.plugins.extras.lang.docker" },
|
{ import = "lazyvim.plugins.extras.lang.docker" },
|
||||||
-- { import = "lazyvim.plugins.extras.lang.markdown" },
|
-- { import = "lazyvim.plugins.extras.lang.markdown" },
|
||||||
{ import = "lazyvim.plugins.extras.lsp.none-ls" },
|
-- { import = "lazyvim.plugins.extras.lsp.none-ls" },
|
||||||
{ import = "plugins" },
|
{ import = "plugins" },
|
||||||
{ import = "plugins.language" },
|
{ import = "plugins.language" },
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
return {
|
return {
|
||||||
require("util").setup_lang({ treesitter = { "lua" }, mason = { "stylua", "lua-language-server" } }),
|
require("util").setup_lang({ treesitter = { "lua" }, mason = { "stylua", "lua-language-server" } }),
|
||||||
{
|
-- {
|
||||||
"nvimtools/none-ls.nvim",
|
-- "nvimtools/none-ls.nvim",
|
||||||
opts = function(_, opts)
|
-- opts = function(_, opts)
|
||||||
local nls = require("null-ls")
|
-- local nls = require("null-ls")
|
||||||
opts.sources = vim.list_extend(opts.sources or {}, {
|
-- opts.sources = vim.list_extend(opts.sources or {}, {
|
||||||
nls.builtins.formatting["stylua"],
|
-- nls.builtins.formatting["stylua"],
|
||||||
})
|
-- })
|
||||||
end,
|
-- end,
|
||||||
},
|
-- },
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue