aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRubén Beltrán del Río <jj@r.bdr.sh>2025-12-26 21:27:18 +0100
committerRubén Beltrán del Río <jj@r.bdr.sh>2026-03-04 23:17:03 +0100
commite56cd4dad5a0b215af9c9295f687843bfecd5df8 (patch)
tree4195d2cf89f99f818489f776e52f2762c27377ac
parent53f1dc6d88225d1e95a94202d64d47f6560b9b96 (diff)
Add Taskwarrior config
-rw-r--r--.gitignore1
-rw-r--r--config/task/light-256.theme98
-rw-r--r--config/task/sync.age10
-rw-r--r--config/task/taskrc39
-rwxr-xr-xinstall3
-rwxr-xr-xsensitive1
6 files changed, 152 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 2fcccfa..d532da8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,3 +15,4 @@ config/mpd/sticker.sql
config/mpd/ext
config/weechat/sec.conf
config/ncmpcpp/error.log
+config/task/sync
diff --git a/config/task/light-256.theme b/config/task/light-256.theme
new file mode 100644
index 0000000..0bba1d1
--- /dev/null
+++ b/config/task/light-256.theme
@@ -0,0 +1,98 @@
+###############################################################################
+#
+# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to deal
+# in the Software without restriction, including without limitation the rights
+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+# copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+# SOFTWARE.
+#
+# https://www.opensource.org/licenses/mit-license.php
+#
+###############################################################################
+
+rule.precedence.color=deleted,completed,active,keyword.,tag.,project.,overdue,scheduled,due.today,due,blocked,blocking,recurring,tagged,uda.
+
+# General decoration
+color.label=
+color.label.sort=
+color.alternate=on gray22
+color.header=color15 on gray8
+color.footnote=on gray18
+color.warning=color9
+color.error=white on red
+color.debug=rgb025
+
+# Task state
+color.completed=
+color.deleted=
+color.active=rgb510
+color.recurring=
+color.scheduled=on rgb345
+color.until=
+color.blocking=rgb300
+color.blocked=rgb003
+
+# Project
+color.project.none=
+
+# Priority
+color.uda.priority.H=gray0
+color.uda.priority.M=gray5
+color.uda.priority.L=gray10
+
+# Tags
+color.tag.next=rgb420
+color.tag.none=
+color.tagged=
+
+# Due
+color.due=on rgb343
+color.due.today=on rgb353
+color.overdue=on rgb544
+
+# Report: burndown
+color.burndown.pending=on rgb411
+color.burndown.started=on rgb550
+color.burndown.done=on rgb151
+
+# Report: history
+color.history.add=color0 on rgb411
+color.history.done=color0 on rgb151
+color.history.delete=color0 on rgb550
+
+# Report: summary
+color.summary.bar=on rgb141
+color.summary.background=on gray20
+
+# Command: calendar
+color.calendar.due=on rgb343
+color.calendar.due.today=on rgb353
+color.calendar.holiday=color0 on rgb530
+color.calendar.overdue=on rgb533
+color.calendar.scheduled=
+color.calendar.today=rgb005
+color.calendar.weekend=on gray21
+color.calendar.weeknumber=gray16
+
+# Command: sync
+color.sync.added=green
+color.sync.changed=yellow
+color.sync.rejected=red
+
+# Command: undo
+color.undo.before=yellow
+color.undo.after=green
diff --git a/config/task/sync.age b/config/task/sync.age
new file mode 100644
index 0000000..4c098bf
--- /dev/null
+++ b/config/task/sync.age
@@ -0,0 +1,10 @@
+age-encryption.org/v1
+-> X25519 e5YMZ3vc1N492gLBGNOY/U+RGJRwChYmav+OGKnaPE4
+v03S68NPZKGq9GRBSlSfrkwP1JRCGe49K9rg/OEJfP4
+-> piv-p256 3ThATw AzF9eIcHRyD+W7EsTEVqWJgR7Yte3Z0EyrLrG9LKPDGX
+8Kq/ILOETt0xoGBCw0riyKy4MzZdYaU4W2OV4ZDrUMM
+-> piv-p256 cCC+0w A64LI0E2X7HhvFZbRm6AWDDAGf8CQ0RBrP1VwrbFVQyt
+KJDbe2PYE0VBX3945b9r5o9vF/9OX8UaWOE2B04thi4
+--- sAADMb2B28fH2AQERJ6GzTVCeWwXinoyPEodtbY8So4
+9wr),e~O:z=.C پ 2bza %DQ- Bov2Dsѡ ;>jrԤNbǭ1Jg2<-3hB+x'WƼz6f~K6vTh^zFg= \ No newline at end of file
diff --git a/config/task/taskrc b/config/task/taskrc
new file mode 100644
index 0000000..e8631b9
--- /dev/null
+++ b/config/task/taskrc
@@ -0,0 +1,39 @@
+# [Created by task 3.4.1 3/4/2026 13:49:50]
+data.location=/home/rbdr/.task
+news.version=3.4.1
+
+# To use the default location of the XDG directories,
+# move this configuration file from ~/.taskrc to ~/.config/task/taskrc and update location config as follows:
+
+#data.location=~/.local/share/task
+#hooks.location=~/.config/task/hooks
+
+# Theme
+include light-256.theme
+
+include sync
+
+# Contexts
+context.work.read=+@work
+context.work.write=+@work
+context.home.read=+@home
+context.home.write=+@home
+context.helping.read=+helping
+context.helping.write=+helping
+context.projects.read=+@tranquil or +project or +art
+context.projects.write=+@tranquil or +project or +art
+context.lenislab.read=+@lenislab
+context.lenislab.write=+@lenislab
+context.personal.read=+health or +personal or +family or +friends or +money
+context.personal.write=+health or +personal or +family or +friends or +money
+
+# Aliases
+alias.inbox=list due: and project:
+alias.today=list +OVERDUE or due:today
+alias.soon=list due.by:1wks
+alias.later=list due.after:1wks
+alias.someday=waiting
+alias.anytime=list due: or +OVERDUE or due:today
+
+# Configuration
+recurrence=on
diff --git a/install b/install
index 6e87804..e3774ef 100755
--- a/install
+++ b/install
@@ -104,6 +104,9 @@ ln -fns ../.dotfiles/config/wpaperd ~/.config/wpaperd
# btop
ln -fns ../.dotfiles/config/btop ~/.config/btop
+# task
+ln -fns ../.dotfiles/config/task ~/.config/task
+
# age recipients
ln -fns .dotfiles/age-recipients ~/.age-recipients
diff --git a/sensitive b/sensitive
index 7fc3b97..6d24ed1 100755
--- a/sensitive
+++ b/sensitive
@@ -3,6 +3,7 @@
sensitive_files=(
"config/aerc/accounts.conf"
"config/weechat/sec.conf"
+ "config/task/sync"
)
if [[ "$1" == "update" ]]; then