Fix task synchronization

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2019-06-24 20:36:11 +02:00
parent ee2af96dfd
commit cd607f0c79
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
4 changed files with 15 additions and 21 deletions

View file

@ -16,10 +16,10 @@ xset s off
xset s noblank
xset -dpms
# Set keyboard layout
setxkbmap -model pc105 -layout ch
# Start applications
nm-applet &
redshift-gtk &
sxhkd &
@ -27,10 +27,12 @@ sxhkd &
# Merge .Xresources on boot
xrdb -merge "${XDG_CONFIG_HOME}/X11/xresources"
# Start ibus
#ibus-daemon -drx
. "${XDG_BIN_HOME}/resolution"
# Add local configuration for taskwarrior
if [ "${IS_WORK}" = "1" ]; then
echo "recurrence=off" > "${XDG_CONFIG_HOME}/task/localrc"
else
echo "" > "${XDG_CONFIG_HOME}/task/localrc"
fi
dbus-update-activation-environment --systemd DISPLAY
eval "$(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)"

View file

@ -29,10 +29,4 @@ color.due=
color.due.today=
dateformat=Y-M-D H:N
# Synchronization
taskd.certificate=/home/severin/.local/keys/taskwarrior/private.certificate.pem
taskd.key=/home/severin/.local/keys/taskwarrior/private.key.pem
taskd.ca=/home/severin/.local/keys/taskwarrior/ca.cert.pem
taskd.server=taskwarrior.inthe.am:53589
taskd.credentials=inthe_am/severin.kaderli/0a28cfd9-a503-4518-8e62-25eef00f6e00
taskd.trust=ignore hostname
include ~/.config/task/localrc