Compare commits
No commits in common. "bff8f07e606391838ef76cfe4ca1df40edda4ccb" and "fd01c8aac2855b18558e8af8618f737e27156881" have entirely different histories.
bff8f07e60
...
fd01c8aac2
7 changed files with 29 additions and 12 deletions
|
|
@ -274,8 +274,8 @@ if exist swww; then
|
||||||
riverctl spawn "swww init"
|
riverctl spawn "swww init"
|
||||||
outputs=$(swww query | cut -d':' -f1)
|
outputs=$(swww query | cut -d':' -f1)
|
||||||
if [ "$(echo "$outputs" | grep -c -e '^DP')" -eq 2 ] && [ -e "$HOME/pictures/wall_r.jpg" ]; then
|
if [ "$(echo "$outputs" | grep -c -e '^DP')" -eq 2 ] && [ -e "$HOME/pictures/wall_r.jpg" ]; then
|
||||||
swww img -o "$(echo "$outputs" | head -n1)" "$HOME/pictures/wall_r.jpg"
|
swww img -o "$(echo "$outputs" | head -n1)" "$HOME/pictures/wall_l.jpg"
|
||||||
swww img -o "$(echo "$outputs" | tail -n1)" "$HOME/pictures/wall_l.jpg"
|
swww img -o "$(echo "$outputs" | tail -n1)" "$HOME/pictures/wall_r.jpg"
|
||||||
elif [ -e "$HOME/pictures/wall.jpg" ]; then
|
elif [ -e "$HOME/pictures/wall.jpg" ]; then
|
||||||
swww img "$HOME/pictures/wall.jpg"
|
swww img "$HOME/pictures/wall.jpg"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ vim.api.nvim_create_autocmd({ "TextYankPost" }, {
|
||||||
group = vim.api.nvim_create_augroup("highlightyanks", { clear = true }),
|
group = vim.api.nvim_create_augroup("highlightyanks", { clear = true }),
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Special setting for editing gopass files - make sure nothing leaks outside the directories it
|
-- Special setting for editing gopass files - make sure nothing leaks outside the directories it
|
||||||
-- is supposed to
|
-- is supposed to
|
||||||
vim.api.nvim_create_autocmd({ "BufNewFile", "BufRead" }, {
|
vim.api.nvim_create_autocmd({ "BufNewFile", "BufRead" }, {
|
||||||
pattern = {
|
pattern = {
|
||||||
|
|
@ -42,3 +42,4 @@ vim.api.nvim_create_user_command("SpellToggle", function(opt)
|
||||||
vim.notify("Spellcheck disabled")
|
vim.notify("Spellcheck disabled")
|
||||||
end
|
end
|
||||||
end, { nargs = "*", bang = true })
|
end, { nargs = "*", bang = true })
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -256,6 +256,27 @@ local prose_plugs = {
|
||||||
config = true,
|
config = true,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
-- cite as you write from papis databases
|
||||||
|
-- ADDITIONAL DEPENDENCIES: papis and yq in shell env
|
||||||
|
-- still same issues: slow, buggy, does not work for me
|
||||||
|
{
|
||||||
|
"jghauser/papis.nvim",
|
||||||
|
dependencies = {
|
||||||
|
"kkharji/sqlite.lua",
|
||||||
|
"MunifTanjim/nui.nvim",
|
||||||
|
"pysan3/pathlib.nvim",
|
||||||
|
"nvim-neotest/nvim-nio",
|
||||||
|
-- if not already installed, you may also want:
|
||||||
|
{ "nvim-telescope/telescope.nvim", optional = true },
|
||||||
|
-- "hrsh7th/nvim-cmp",
|
||||||
|
},
|
||||||
|
config = function()
|
||||||
|
require("papis").setup({
|
||||||
|
init_filetypes = prose_ft,
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
lazy = false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"barreiroleo/ltex_extra.nvim",
|
"barreiroleo/ltex_extra.nvim",
|
||||||
branch = "dev",
|
branch = "dev",
|
||||||
|
|
|
||||||
|
|
@ -226,4 +226,3 @@ decarbonisation
|
||||||
Oportunidades
|
Oportunidades
|
||||||
OECD
|
OECD
|
||||||
NREGA
|
NREGA
|
||||||
Oehme
|
|
||||||
|
|
|
||||||
|
|
@ -5,5 +5,8 @@ if exist nvim; then
|
||||||
alias v="nvim"
|
alias v="nvim"
|
||||||
alias vim="nvim"
|
alias vim="nvim"
|
||||||
|
|
||||||
|
# open notes with my vim zettelkasten plugin
|
||||||
|
# TODO better implementation conditional on zk & zettelkasten existing
|
||||||
|
alias vn='nvim +"lua require \"zk.commands\".get(\"ZkCd\")()" +"edit ~/documents/notes/index.md"'
|
||||||
alias vs='nvim +"lua require \"personal.scratchpad\".create()"'
|
alias vs='nvim +"lua require \"personal.scratchpad\".create()"'
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
[interactive]
|
[interactive]
|
||||||
diffFilter = git delta --color-only
|
diffFilter = git delta --color-only
|
||||||
[merge]
|
[merge]
|
||||||
conflictStyle = zdiff3
|
conflictstyle = diff3
|
||||||
[delta]
|
[delta]
|
||||||
navigate = true
|
navigate = true
|
||||||
line-numbers = true
|
line-numbers = true
|
||||||
|
|
|
||||||
|
|
@ -8,10 +8,3 @@ n() {
|
||||||
zk "${@}"
|
zk "${@}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# open notes with my vim zettelkasten plugin
|
|
||||||
# TODO better implementation conditional on zk.nvim & zettelkasten existing
|
|
||||||
# nvim +'lua pcall(require "zk.commands"') --headless +qa 2>&1 or similar to check - but slow
|
|
||||||
if command -v nvim >/dev/null 2>&1; then
|
|
||||||
alias ni='nvim +"lua require \"zk.commands\".get(\"ZkCd\")()" +"edit $WIKIROOT/index.md"'
|
|
||||||
fi
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue