Update obsidian config
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -1,24 +0,0 @@
|
|||||||
:root {
|
|
||||||
--replete-custom-separators-vertical-padding: 4px;
|
|
||||||
--replete-custom-separators-left-margin: -12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav-files-container
|
|
||||||
[class*="nav-"]:has(
|
|
||||||
:is(
|
|
||||||
[data-path="Inbox"],
|
|
||||||
[data-path="Dreams"],
|
|
||||||
[data-path="Work"],
|
|
||||||
[data-path="Random"],
|
|
||||||
|
|
||||||
)
|
|
||||||
)::after {
|
|
||||||
content: "";
|
|
||||||
display: block;
|
|
||||||
height: 1px;
|
|
||||||
width: calc(100% + 32px);
|
|
||||||
background: linear-gradient(to right, var(--tab-outline-color), transparent);
|
|
||||||
margin: var(--replete-custom-separators-vertical-padding) 0
|
|
||||||
var(--replete-custom-separators-vertical-padding)
|
|
||||||
var(--replete-custom-separators-left-margin);
|
|
||||||
}
|
|
@@ -72,6 +72,12 @@ in
|
|||||||
"slash-command"
|
"slash-command"
|
||||||
"switcher"
|
"switcher"
|
||||||
"tag-pane"
|
"tag-pane"
|
||||||
|
{
|
||||||
|
name = "templates";
|
||||||
|
options = {
|
||||||
|
folder = "98-templates";
|
||||||
|
};
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
communityPlugins = [
|
communityPlugins = [
|
||||||
@@ -101,17 +107,6 @@ in
|
|||||||
countComments = true; # Inverse
|
countComments = true; # Inverse
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
|
||||||
pkg = selfPkgs.obsidian-plugin-custom-sort;
|
|
||||||
options = {
|
|
||||||
suspended = false;
|
|
||||||
statusBarEntryEnabled = false;
|
|
||||||
notificationsEnabled = false;
|
|
||||||
customSortContextSubmenu = false;
|
|
||||||
bookmarksGroupToConsumeAsOrderingReference = "Sort";
|
|
||||||
bookmarksContextMenus = false;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
pkg = selfPkgs.obsidian-plugin-dataview;
|
pkg = selfPkgs.obsidian-plugin-dataview;
|
||||||
options = {
|
options = {
|
||||||
@@ -414,93 +409,6 @@ in
|
|||||||
stickCursor = "never";
|
stickCursor = "never";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
|
||||||
pkg = selfPkgs.obsidian-plugin-read-it-later;
|
|
||||||
options = {
|
|
||||||
inboxDir = "Inbox";
|
|
||||||
assetsDir = "Inbox/assets";
|
|
||||||
openNewNote = true;
|
|
||||||
youtubeNote = ''
|
|
||||||
---
|
|
||||||
source: %videoURL%
|
|
||||||
---
|
|
||||||
|
|
||||||
%videoPlayer%
|
|
||||||
'';
|
|
||||||
vimeoNote = ''
|
|
||||||
---
|
|
||||||
source: %videoURL%
|
|
||||||
---
|
|
||||||
|
|
||||||
%videoPlayer%
|
|
||||||
'';
|
|
||||||
bilibiliNote = ''
|
|
||||||
---
|
|
||||||
source: %videoURL%
|
|
||||||
---
|
|
||||||
|
|
||||||
%videoPlayer%
|
|
||||||
'';
|
|
||||||
twitterNote = ''
|
|
||||||
---
|
|
||||||
source: %tweetURL%
|
|
||||||
---
|
|
||||||
|
|
||||||
%tweetContent%
|
|
||||||
'';
|
|
||||||
parsableArticleNote = ''
|
|
||||||
---
|
|
||||||
source: %articleURL%
|
|
||||||
---
|
|
||||||
|
|
||||||
%articleContent%
|
|
||||||
'';
|
|
||||||
mastodonNote = ''
|
|
||||||
---
|
|
||||||
source: %tootURL%
|
|
||||||
---
|
|
||||||
|
|
||||||
> %tootContent%
|
|
||||||
'';
|
|
||||||
stackExchangeNote = ''
|
|
||||||
---
|
|
||||||
source: %questionURL%
|
|
||||||
---
|
|
||||||
|
|
||||||
Author: [%authorName%](%authorProfileURL%)
|
|
||||||
|
|
||||||
%questionContent%
|
|
||||||
|
|
||||||
***
|
|
||||||
|
|
||||||
%topAnswer%
|
|
||||||
|
|
||||||
%answers%
|
|
||||||
'';
|
|
||||||
stackExchangeAnswer = ''
|
|
||||||
Answered by: [%authorName%](%authorProfileURL%)
|
|
||||||
|
|
||||||
> %answerContent%
|
|
||||||
'';
|
|
||||||
tikTokNote = ''
|
|
||||||
---
|
|
||||||
source: %videoURL%
|
|
||||||
---
|
|
||||||
|
|
||||||
%videoDescription%
|
|
||||||
|
|
||||||
%videoPlayer%
|
|
||||||
'';
|
|
||||||
notParsableArticleNote = ''
|
|
||||||
---
|
|
||||||
source: %articleURL%
|
|
||||||
---
|
|
||||||
|
|
||||||
%previewURL%
|
|
||||||
'';
|
|
||||||
textSnippetNote = "%content%";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
(selfPkgs.obsidian-plugin-style-settings)
|
(selfPkgs.obsidian-plugin-style-settings)
|
||||||
{
|
{
|
||||||
pkg = selfPkgs.obsidian-plugin-tasks;
|
pkg = selfPkgs.obsidian-plugin-tasks;
|
||||||
@@ -652,8 +560,6 @@ in
|
|||||||
(selfPkgs.obsidian-plugin-url-into-selection)
|
(selfPkgs.obsidian-plugin-url-into-selection)
|
||||||
];
|
];
|
||||||
|
|
||||||
cssSnippets = [ ./config/snippets/file-explorer-separators.css ];
|
|
||||||
|
|
||||||
themes = [ selfPkgs.obsidian-theme-minimal ];
|
themes = [ selfPkgs.obsidian-theme-minimal ];
|
||||||
|
|
||||||
hotkeys = {
|
hotkeys = {
|
||||||
|
@@ -18,6 +18,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
home.file."Documents/Obsidian/.stignore".source =
|
home.file."Documents/Obsidian/.stignore".source =
|
||||||
../../../../../../common/configs/user/gui/obsidian/config/.stignore;
|
../../../../../../common/configs/user/gui/obsidian/.stignore;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@@ -21,6 +21,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
home.file."Documents/Obsidian/personal/.stignore".source =
|
home.file."Documents/Obsidian/personal/.stignore".source =
|
||||||
../../../../../../common/configs/user/gui/obsidian/config/.stignore;
|
../../../../../../common/configs/user/gui/obsidian/.stignore;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@@ -1,31 +0,0 @@
|
|||||||
{ pkgs, ... }:
|
|
||||||
# AUTO-UPDATE: nix-update --flake obsidian-plugin-custom-sort
|
|
||||||
pkgs.stdenv.mkDerivation rec {
|
|
||||||
pname = "obsidian-plugin-custom-sort";
|
|
||||||
version = "3.1.2";
|
|
||||||
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = "SebastianMC";
|
|
||||||
repo = "obsidian-custom-sort";
|
|
||||||
rev = version;
|
|
||||||
hash = "sha256-a6t0+mzzXQsgUwZ3m3UvF3N83ajGmxalsnD8beAVAr0=";
|
|
||||||
};
|
|
||||||
|
|
||||||
offlineCache = pkgs.fetchYarnDeps {
|
|
||||||
yarnLock = src + "/yarn.lock";
|
|
||||||
hash = "sha256-J/+LJWaco2QRwZx8Ry3G5DiJB6J21iOn5GBeY5EY4+g=";
|
|
||||||
};
|
|
||||||
|
|
||||||
nativeBuildInputs = with pkgs; [
|
|
||||||
nodejs
|
|
||||||
yarnConfigHook
|
|
||||||
yarnBuildHook
|
|
||||||
npmHooks.npmInstallHook
|
|
||||||
];
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out
|
|
||||||
cp ./manifest.json $out/manifest.json
|
|
||||||
cp ./dist/main.js $out/main.js
|
|
||||||
'';
|
|
||||||
}
|
|
Reference in New Issue
Block a user