Fix taskrc in work mode
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
0699a92d75
commit
049bd01474
4 changed files with 20 additions and 11 deletions
19
install
19
install
|
@ -31,8 +31,6 @@ DIRECTORIES=(
|
||||||
"build"
|
"build"
|
||||||
"documents"
|
"documents"
|
||||||
"downloads"
|
"downloads"
|
||||||
"music"
|
|
||||||
"pictures"
|
|
||||||
"projects"
|
"projects"
|
||||||
"videos"
|
"videos"
|
||||||
)
|
)
|
||||||
|
@ -41,8 +39,11 @@ WORK_DIRECTORIES=(
|
||||||
".local/keys"
|
".local/keys"
|
||||||
".local/log"
|
".local/log"
|
||||||
".local/share/gnupg/"
|
".local/share/gnupg/"
|
||||||
|
"documents"
|
||||||
"downloads"
|
"downloads"
|
||||||
|
"music"
|
||||||
"pictures"
|
"pictures"
|
||||||
|
"videos"
|
||||||
"work"
|
"work"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -353,10 +354,14 @@ chsh -s "/bin/zsh"
|
||||||
print_log "Set default shell to zsh"
|
print_log "Set default shell to zsh"
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Post installation information #
|
# Post installation information #
|
||||||
###############################################################################
|
###############################################################################
|
||||||
print_section "Manual TODOs"
|
print_section "Post installation information"
|
||||||
print_log "Run ${YELLOW}~/.config/polybar/scripts/gmail/auth.py${RESET}"
|
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
|
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
|
fi
|
||||||
|
echo ""
|
||||||
|
|
|
@ -50,7 +50,13 @@ export GEM_SPEC_CACHE="${XDG_CACHE_HOME}/gem/specs"
|
||||||
mkdir -p "${XDG_DATA_HOME}/wine/prefixes"
|
mkdir -p "${XDG_DATA_HOME}/wine/prefixes"
|
||||||
export WINEPREFIX="${XDG_DATA_HOME}/wine/prefixes/default"
|
export WINEPREFIX="${XDG_DATA_HOME}/wine/prefixes/default"
|
||||||
export SQLITE_HISTORY="${XDG_DATA_HOME}/sqlite_history"
|
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 TASKRC="${XDG_CONFIG_HOME}/task/taskrc"
|
||||||
export PARALLEL_HOME="$XDG_CONFIG_HOME/parallel"
|
export PARALLEL_HOME="$XDG_CONFIG_HOME/parallel"
|
||||||
export CCACHE_CONFIGPATH="${XDG_CONFIG_HOME}/ccache.config"
|
export CCACHE_CONFIGPATH="${XDG_CONFIG_HOME}/ccache.config"
|
||||||
|
|
|
@ -2,5 +2,4 @@ file:///home/severin/documents Documents
|
||||||
file:///home/severin/downloads Downloads
|
file:///home/severin/downloads Downloads
|
||||||
file:///home/severin/videos Videos
|
file:///home/severin/videos Videos
|
||||||
file:///home/severin/projects Projects
|
file:///home/severin/projects Projects
|
||||||
file:///home/severin/dotfiles dotfiles
|
file:///home/severin/dotfiles dotfiles
|
||||||
file:///home/severin/notes Notes
|
|
|
@ -11,7 +11,6 @@
|
||||||
# Use the command 'task show' to see all defaults and overrides
|
# Use the command 'task show' to see all defaults and overrides
|
||||||
|
|
||||||
# Files
|
# Files
|
||||||
data.location=/home/severin/tasks
|
|
||||||
verbose=blank,footnote,label,new-id,affected,edit,special,project,sync,unwait
|
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
|
report.todo.description=Tasks with now due date, overdue or due in the next 7 days
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue