diff --git a/.config/doom/snippets/org-mode/roam-tag-person b/.config/doom/snippets/org-mode/roam-tag-person index 36f6781..3501bff 100644 --- a/.config/doom/snippets/org-mode/roam-tag-person +++ b/.config/doom/snippets/org-mode/roam-tag-person @@ -2,4 +2,4 @@ # name: Tag roam file as person # key: +person # -- -#+roam_tags: person +#+filetags: :person: diff --git a/.config/doom/snippets/org-mode/roam-tag-tech b/.config/doom/snippets/org-mode/roam-tag-tech index dd1390c..f114618 100644 --- a/.config/doom/snippets/org-mode/roam-tag-tech +++ b/.config/doom/snippets/org-mode/roam-tag-tech @@ -2,4 +2,4 @@ # name: Tag roam file as tech # key: +tech # -- -#+roam_tags: tech software +#+filetags: :tech:software: diff --git a/.config/doom/snippets/org-mode/roam-tags b/.config/doom/snippets/org-mode/roam-tags index ec63d8b..9f65885 100644 --- a/.config/doom/snippets/org-mode/roam-tags +++ b/.config/doom/snippets/org-mode/roam-tags @@ -2,4 +2,4 @@ # name: Add Org Roam tags # key: +t # -- -#+roam_tags: \ No newline at end of file +#+filetags: \ No newline at end of file diff --git a/.local/bin/scripts/roam b/.local/bin/scripts/roam index 6798ca3..e1c8c1c 100755 --- a/.local/bin/scripts/roam +++ b/.local/bin/scripts/roam @@ -1,4 +1,4 @@ #!/bin/sh -e # Move roam files into subfolders cd $DATA/2-standards/notes/roam -find . -mindepth 1 -type d -printf '%f\n' | while read dir; do grep -l --directories=skip "roam_tags: $dir" * | xargs --verbose --no-run-if-empty mv -t "$dir"; done +find . -mindepth 1 -type d -printf '%f\n' | while read dir; do grep -l --directories=skip "#+filetags: :$dir" * | xargs --verbose --no-run-if-empty mv -t "$dir"; done