A lot of configs to drop taskwarrior

Dropping taskwarrior in favor of a more fluid "Put TODO in notes"
system. taskrc is gone, various things have been shucked to make
room for the new system, remove task monitor from my waybar.
This commit is contained in:
Trysdyn Black 2024-02-16 09:44:01 -08:00
parent 36b1aa93b0
commit 315e0d3821
4 changed files with 12 additions and 53 deletions

View file

@ -7,7 +7,7 @@
"fixed-center": false,
"modules-left": ["sway/workspaces", "sway/mode", "sway/scratchpad"],
"modules-center": [],
"modules-right": ["custom/oven", "custom/timer", "custom/maildir", "custom/nagios", "custom/task", "custom/weather", "custom/aqi", "memory", "cpu", "clock", "tray"],
"modules-right": ["custom/oven", "custom/timer", "custom/maildir", "custom/nagios", "custom/weather", "custom/aqi", "memory", "cpu", "clock", "tray"],
"sway/scratchpad": {
"format": "{icon} {count}",
"show-empty": false,

View file

@ -435,6 +435,8 @@
# Multiple patterns can be combined with '|': '~|~/some/dir'.
typeset -g POWERLEVEL9K_VCS_DISABLED_WORKDIR_PATTERN='~'
# Disable gitstatusd entirely because I don't use it
typeset -g POWERLEVEL9K_DISABLE_GITSTATUS=true
# Disable the default Git status formatting.
typeset -g POWERLEVEL9K_VCS_DISABLE_GITSTATUS_FORMATTING=true
# Install our own Git status formatter.

50
.taskrc
View file

@ -1,50 +0,0 @@
include ~/.config/taskwarrior/theme
data.location=~/Nextcloud/My Library/taskwarrior
# Quick "What I did yesterday/today" standup report
report.standup.labels=Status,Modified,Description
report.standup.columns=status,modified.relative,description.count
report.standup.sort=modified+
report.standup.filter=status.not:recurring and (modified.after:yesterday or +next)
# Same as above but weekly report
report.weekly.labels=Status,Modified,Description
report.weekly.columns=status,modified.relative,description.count
report.weekly.sort=modified+
report.weekly.filter=status.not:recurring and (modified.after:today-7d or +next)
# A simple list of tasks to do
report.simple.labels=id,Description
report.simple.columns=id,description.count
report.simple.sort=urgency-
report.simple.filter=status:pending
# Case insensitive search
search.case.sensitive=no
# Remove annotations from default (next) report; just count them instead
report.next.columns=id,start.age,entry.age,depends,priority,project,tags,recur,scheduled.countdown,due.relative,until.remaining,description.count,urgency
# Remove blank lines and useless things like task totals in searches
verbose=label,footnote,new-id,special,edit,project
# Set priority co-efficients such that L reduces Urg, H increases it, and M doesn't change it
urgency.uda.priority.L.coefficient=-1.0
urgency.uda.priority.M.coefficient=0.0
urgency.uda.priority.H.coefficient=1.0
# Don't give blocking tasks so much urgency
urgency.blocking.coefficient=1.0
# Review reports for `tasksh review`
# This has to be here or tasksh keeps putting it back
uda.reviewed.type=date
uda.reviewed.label=Reviewed
report._reviewed.description=Tasksh review report. Adjust the filter to your needs.
report._reviewed.columns=uuid
report._reviewed.sort=reviewed+,modified+
report._reviewed.filter=( reviewed.none: or reviewed.before:now-6days ) and ( +PENDING or +WAITING )
# If this != current version, taskwarrior whines about unviewed chagelogs
news.version=2.6.0

11
.zshrc
View file

@ -1,8 +1,8 @@
# Archlinux packages p10k but nothing else does, so we have to check where p10k is
if [[ -a /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme ]]; then
source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme
source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme
else
source ~/.p10k/powerlevel10k.zsh-theme
source ~/.p10k/powerlevel10k.zsh-theme
fi
# Print user@host into title so terminal tabs are correct
@ -20,10 +20,17 @@ alias ct="clear && task"
alias grep='grep -EIs --color=auto --exclude-dir=.git'
# Use exa if we have it
# I don't want this in .profile because it's not completely backward compatible with ls
if [ -e /usr/bin/exa ]; then
alias ls=exa
fi
# Note-taking alias
n () {
readonly openfile=${1:-Inbox.md}
$EDITOR ~/notes/$openfile
}
setopt appendhistory
# Case-insensetive tab completion