Update a bunch of configs
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
738f83183f
commit
052fb6bada
24 changed files with 474 additions and 68 deletions
22
system/.local/bin/sync-tasks
Executable file
22
system/.local/bin/sync-tasks
Executable file
|
@ -0,0 +1,22 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
# SCRIPT NAME:
|
||||
# sync-tasks
|
||||
#
|
||||
# AUTHOR:
|
||||
# Severin Kaderli <severin@kaderli.dev>
|
||||
#
|
||||
# DESCRIPTION:
|
||||
# Sync tasks in ~/Tasks using git
|
||||
#
|
||||
# USAGE:
|
||||
# ./sync-tasks
|
||||
. /home/severin/.local/bin/utils
|
||||
|
||||
print_time_log "sync-tasks" "Synchronizing tasks"
|
||||
|
||||
cd "/home/severin/Tasks" || exit
|
||||
git pull > /dev/null 2>&1
|
||||
git add --all > /dev/null 2>&1
|
||||
git commit -s -m "Update tasks" > /dev/null 2>&1
|
||||
git push origin master > /dev/null 2>&1
|
Loading…
Add table
Add a link
Reference in a new issue