Fix taskrc in work mode

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2019-05-29 13:42:25 +02:00
parent 0699a92d75
commit 049bd01474
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
4 changed files with 20 additions and 11 deletions

15
install
View file

@ -31,8 +31,6 @@ DIRECTORIES=(
"build"
"documents"
"downloads"
"music"
"pictures"
"projects"
"videos"
)
@ -41,8 +39,11 @@ WORK_DIRECTORIES=(
".local/keys"
".local/log"
".local/share/gnupg/"
"documents"
"downloads"
"music"
"pictures"
"videos"
"work"
)
@ -355,8 +356,12 @@ print_log "Set default shell to zsh"
###############################################################################
# Post installation information #
###############################################################################
print_section "Manual TODOs"
print_log "Run ${YELLOW}~/.config/polybar/scripts/gmail/auth.py${RESET}"
print_section "Post installation information"
echo "${BOLD}Make sure you do the following after this installation:"
echo " • Run ${YELLOW}~/.config/polybar/scripts/gmail/auth.py${RESET}"
echo " • Download settings for Visual Studio Code"
if [ "${IS_WORK}" = "0" ]; then
print_log "Add taskwarrior keys to ${YELLOW}~/.local/keys/taskwarrior/${RESET}"
echo " • Add taskwarrior keys to ${YELLOW}~/.local/keys/taskwarrior/${RESET}"
fi
echo ""

View file

@ -50,7 +50,13 @@ export GEM_SPEC_CACHE="${XDG_CACHE_HOME}/gem/specs"
mkdir -p "${XDG_DATA_HOME}/wine/prefixes"
export WINEPREFIX="${XDG_DATA_HOME}/wine/prefixes/default"
export SQLITE_HISTORY="${XDG_DATA_HOME}/sqlite_history"
export TASKDATA="${HOME}/tasks"
if [ "${IS_WORK}" = "1" ]; then
export TASKDATA="${HOME}/.local/share/tasks"
else
export TASKDATA="${HOME}/tasks"
fi
export TASKRC="${XDG_CONFIG_HOME}/task/taskrc"
export PARALLEL_HOME="$XDG_CONFIG_HOME/parallel"
export CCACHE_CONFIGPATH="${XDG_CONFIG_HOME}/ccache.config"

View file

@ -3,4 +3,3 @@ file:///home/severin/downloads Downloads
file:///home/severin/videos Videos
file:///home/severin/projects Projects
file:///home/severin/dotfiles dotfiles
file:///home/severin/notes Notes

View file

@ -11,7 +11,6 @@
# Use the command 'task show' to see all defaults and overrides
# Files
data.location=/home/severin/tasks
verbose=blank,footnote,label,new-id,affected,edit,special,project,sync,unwait
report.todo.description=Tasks with now due date, overdue or due in the next 7 days