restructure folders

This commit is contained in:
2024-03-03 12:35:44 +01:00
parent 2e7bcc32ca
commit 0ff29aca1a
5 changed files with 25 additions and 23 deletions

View File

@@ -1,3 +1,5 @@
Zusatz:
- firefox Bookmarks neu
- obsidian vaults einrichten in home/programs/neovim/lua/plugins/obsidian.lua

View File

@@ -1,10 +1,7 @@
{ config, pkgs, ... }:
{
imports = [
./programs
./services
];
imports = [ ./programs ./services ];
home = {
username = "elias";
homeDirectory = "/home/elias";
@@ -28,9 +25,7 @@
firefox
#signal-desktop
#telegram-desktop
xfce.thunar
# zathura
xfce.xfconf
];
# environment.shells = [ pkgs.zsh ];

View File

@@ -3,8 +3,8 @@ return {
"epwalsh/obsidian.nvim",
lazy = true,
event = {
"BufReadPre " .. vim.fn.expand("~") .. "/Notes/**.md",
"BufNewFile " .. vim.fn.expand("~") .. "/Notes/**.md",
"BufReadPre " .. vim.fn.expand("~") .. "**.md",
"BufNewFile " .. vim.fn.expand("~") .. "**.md",
},
dependencies = {
"nvim-lua/plenary.nvim",
@@ -30,7 +30,10 @@ return {
},
},
})
function OpenMarkdownPreview(url)
execute "silent ! firefox --new-window " . a:url
endfunction
let g:mkdp_browserfunc = 'OpenMarkdownPreview'
end,
},
}