diff options
| author | Kyren223 <Kyren223@proton.me> | 2025-01-05 17:04:11 +0200 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2025-01-05 17:04:11 +0200 |
| commit | bcf5dc10ef1a98ba3f835f036c81e4c141d18f13 (patch) | |
| tree | dd31ebf256bb015225b9f26555530645b7f744ee | |
| parent | 5ccf55e38f886b94a3e38696c70a6f5bad2437fe (diff) | |
Made activitywatch automatically start
| -rw-r--r-- | .zshrc | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -109,6 +109,13 @@ if [ ! -f "$MARKER_FILE" ]; then touch "$MARKER_FILE" fi +MARKER_FILE="/run/user/$(id -u)/activitywatch" +if [ ! -f "$MARKER_FILE" ]; then + nohup aw-qt &>/dev/null & disown + nohup awatcher &>/dev/null & disown + touch "$MARKER_FILE" +fi + # Install catppuccin automatically if it's not installed already if [[ ! -d "$HOME/.config/tmux/plugins/catppuccin" ]]; then mkdir -p $HOME/.config/tmux/plugins/catppuccin |
