Update a bunch of configs

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2019-03-26 20:22:01 +01:00
parent 738f83183f
commit 052fb6bada
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
24 changed files with 474 additions and 68 deletions

22
system/.local/bin/sync-tasks Executable file
View 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