mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
feat: migrate notes workflow to obsidian completely
This commit is contained in:
@@ -41,7 +41,7 @@ in {
|
||||
};
|
||||
|
||||
systemd.user.services.nextcloud-syncer = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
wants = ["network-online.target"];
|
||||
wantedBy = ["default.target"];
|
||||
startAt = "*:00/10";
|
||||
|
||||
@@ -277,8 +277,9 @@ in {
|
||||
PATH=$PATH:${
|
||||
lib.makeBinPath [pkgs.rofi pkgs.findutils pkgs.coreutils]
|
||||
}
|
||||
NOTE_DIR=~/cloud/syncthing/obsidian
|
||||
|
||||
cd ~/notes
|
||||
cd "$NOTE_DIR"
|
||||
note_file=$({
|
||||
echo diary/$(date -I).md
|
||||
echo diary/$(date -I -d yesterday).md
|
||||
@@ -286,7 +287,7 @@ in {
|
||||
} | rofi -dmenu -i -p 'notes')
|
||||
if test "$note_file"
|
||||
then
|
||||
alacritty --working-directory ~/notes -e "$EDITOR" "$note_file"
|
||||
alacritty --working-directory "$NOTE_DIR" -e "$EDITOR" "$note_file"
|
||||
fi
|
||||
''
|
||||
}";
|
||||
|
||||
Reference in New Issue
Block a user