From 96439a5c9b2199616253fca209b562543c9b06b1 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sat, 30 Apr 2022 20:50:25 +0200 Subject: [PATCH] tmux: Change todo.session setup Replaced old, never used, graphical taskwarrior task accomplishment overview with a more free-form calendar/journal page. It displays an overview of my upcoming appointments using calcurse on the one hand, and my personal snippet journal with the help of jrnl on the other. The last thing is a tiny empty pane allowing me just enough room to interact with jrnl, e.g. quickly writing new entries. --- tmux/.config/tmux/sessions/todo.session | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/tmux/.config/tmux/sessions/todo.session b/tmux/.config/tmux/sessions/todo.session index 285881c..d0faa7e 100644 --- a/tmux/.config/tmux/sessions/todo.session +++ b/tmux/.config/tmux/sessions/todo.session @@ -1,4 +1,4 @@ -rename-window tasksh +rename-window focus 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 @@ -8,10 +8,8 @@ split-window -v "cd ${XDG_DATA_HOME:-~/.local/share}/task/; fd . | entr -c task 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" +new-window -n journal +send-keys "calcurse" C-m +split-window -h -l 35% "ls ~/documents/records/jrnl.md | entr -c jrnl -5" split-window -v -l 10% -send-keys "nvim ${XDG_CONFIG_HOME:-~/.config}/task/taskrc" C-m select-window -t 2