mirror of
https://github.com/Ascyii/scripts.git
synced 2026-01-01 04:44:24 -05:00
Init
This commit is contained in:
10
shell/unison_sync.sh
Executable file
10
shell/unison_sync.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
dunstify 'Sync Start' "Started to sync this to ⭐ hub"
|
||||
|
||||
# Capture Unison output
|
||||
OUTPUT=$(~/projects/scripts/run_unison.sh 2>&1)
|
||||
LAST_LINE=$(echo "$OUTPUT" | tail -n 1)
|
||||
|
||||
# Notify with last line
|
||||
dunstify 'Sync Finished ✅' "$LAST_LINE"
|
||||
Reference in New Issue
Block a user