summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2025-01-08 11:44:05 +0200
committerKyren223 <Kyren223@proton.me>2025-01-08 11:44:05 +0200
commit9f8f5d1f03767a14e1923e3638e5c2fd3f6d5f80 (patch)
treef34c4c8a82efe8119efd9637abdf30120000620a
parentbcf5dc10ef1a98ba3f835f036c81e4c141d18f13 (diff)
Trying to fix issue where activitywatch wouldn't work until I nixos
rebuild bcz of the boot being full so I can't rebuild properly
-rw-r--r--.zshrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index 680954c..351e4b0 100644
--- a/.zshrc
+++ b/.zshrc
@@ -114,6 +114,11 @@ if [ ! -f "$MARKER_FILE" ]; then
nohup aw-qt &>/dev/null & disown
nohup awatcher &>/dev/null & disown
touch "$MARKER_FILE"
+
+ {
+ wait $aw_qt_pid || rm -f "$MARKER_FILE"
+ wait $awatcher_pid || rm -f "$MARKER_FILE"
+ } & disown
fi
# Install catppuccin automatically if it's not installed already