tmux: Add todo session

Added session for taskwarrior todo dashboard. Includes a relatively free
space containing a tasksh session on window 1, an overall dashboard on
window 2, and recent history visualization on window 3.

Additionally, fixed sport session to open the correct files.
This commit is contained in:
Marty Oehme 2021-04-12 19:26:42 +02:00
parent 207de4778b
commit d3b2e30052
Signed by: Marty
GPG key ID: B7538B8F50A1C800
2 changed files with 17 additions and 2 deletions

View file

@ -1,4 +1,4 @@
new-window -n routine
send-keys "cd ~/documents/records; v workout.md" C-m I
rename-window stats rename-window stats
send-keys "cd ~/documents/records; v workout.md" C-m
new-window -n routine
send-keys "cd ~/documents/records; sc-im workout.csv" C-m send-keys "cd ~/documents/records; sc-im workout.csv" C-m

View file

@ -0,0 +1,15 @@
rename-window tasksh
send-keys tasksh C-m "+TODAY" C-m
new-window -n dash
send-keys "cd ${XDG_DATA_HOME:-~/.local/share}/task/; fd . | entr -c task next" C-m
split-window -h -l 71
send-keys "cd ${XDG_DATA_HOME:-~/.local/share}/task/; fd . | entr -c task summary" C-m
split-window -v "cd ${XDG_DATA_HOME:-~/.local/share}/task/; fd . | entr -c task burndown"
select-pane -t 1
split-window -v -l 5
send-keys "t" Space
new-window -n history
send-keys "cd ${XDG_DATA_HOME:-~/.local/share}/task/; fd . | entr -c task ghistory.monthly" C-m
split-window -v -l 80% "cd ${XDG_DATA_HOME:-~/.local/share}/task/; fd . | entr -c task ghistory.weekly"
split-window -v -l 60% "cd ${XDG_DATA_HOME:-~/.local/share}/task/; fd . | entr -c task ghistory.daily"
select-window -t 2