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,43 +0,0 @@
{ lib
, stdenv
, fetchFromGitHub
, sddm
, qtgraphicaleffects
, qtquickcontrols2
, qtsvg
}:
stdenv.mkDerivation rec {
pname = "catppuccin-sddm";
version = "unstable-2024-02-05";
src = fetchFromGitHub {
owner = "catppuccin";
repo = "sddm";
rev = "f3db13cbe8e99a4ee7379a4e766bc8a4c2c6c3dd";
hash = "sha256-0zoJOTFjQq3gm5i3xCRbyk781kB7BqcWWNrrIkWf2Xk=";
};
buildInputs = [
sddm
qtgraphicaleffects
qtquickcontrols2
qtsvg
];
dontWrapQtApps = true;
postInstall = ''
mkdir -p "$out/share/sddm/themes/"
mv src/* "$out/share/sddm/themes/."
'';
meta = {
description = "Soothing pastel theme for SDDM";
homepage = "https://github.com/catppuccin/sddm";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ einfischy ];
platforms = lib.platforms.linux;
};
}

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,
},
}