aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/ne/neorg/functions/review.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/ne/neorg/functions/review.sh')
-rwxr-xr-xpkgs/by-name/ne/neorg/functions/review.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/by-name/ne/neorg/functions/review.sh b/pkgs/by-name/ne/neorg/functions/review.sh
new file mode 100755
index 00000000..a0a9ab8d
--- /dev/null
+++ b/pkgs/by-name/ne/neorg/functions/review.sh
@@ -0,0 +1,12 @@
+#!/usr/bin/env dash
+
+review0start() {
+ for project in $(list0list_all_contexts_newline); do
+ if [ -f "%NEORG_REVIEW_PATH/$project.lock" ]; then
+ msg "Reviewing '$project'"
+ notify-send "Neorg" "Reviewing '$project'"
+ firefox -P "$project"
+ rm "%NEORG_REVIEW_PATH/$project.lock"
+ fi
+ done
+}