#!/bin/sh if [ "$(task _get tw.syncneeded)" -eq 1 ]; then if ! task sync 2>/dev/null; then task config sync.encryption_secret "$(pass show server/task_secret)" task config sync.gcp.bucket "task.thesiah.xyz" task config sync.gcp.credential_path "${XDG_DATA_HOME:-${HOME}/.local/share}/task/task-sync-server.json" task sync fi fi