Enable tasks and notes in work environment

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2019-06-17 21:29:40 +02:00
parent 5f170c2db6
commit 0fb408fc24
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
6 changed files with 25 additions and 27 deletions

View file

@ -54,13 +54,7 @@ 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"
if [ "${IS_WORK}" = "1" ]; then
export TASKDATA="${HOME}/.local/share/tasks"
else
export TASKDATA="${HOME}/tasks"
fi
export TASKDATA="${HOME}/tasks"
export TASKRC="${XDG_CONFIG_HOME}/task/taskrc"
export PARALLEL_HOME="$XDG_CONFIG_HOME/parallel"
export CCACHE_CONFIGPATH="${XDG_CONFIG_HOME}/ccache.config"

View file

@ -1,6 +1,3 @@
file:///home/severin/documents Documents
file:///home/severin/downloads Downloads
file:///home/severin/videos Videos
file:///home/severin/projects Projects
file:///home/severin/dotfiles dotfiles
file:///home/severin/work Work

View file

@ -142,7 +142,7 @@ click-left = xdg-open https://mail.google.com
###############################################################################
[module/todo]
type = custom/script
exec = [ "${IS_WORK}" = "0" ] && task count due.before:tomorrow and status:pending or due: and status:pending
exec = task count due.before:tomorrow and status:pending or due: and status:pending
format = <label>
label =  %output%