From d3b2e30052c781a06da6866feef61ca99c003b6e Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Mon, 12 Apr 2021 19:26:42 +0200 Subject: [PATCH] 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. --- tmux/.config/tmux/sessions/sport.session | 4 ++-- tmux/.config/tmux/sessions/todo.session | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 tmux/.config/tmux/sessions/todo.session diff --git a/tmux/.config/tmux/sessions/sport.session b/tmux/.config/tmux/sessions/sport.session index 099ddd8..0bbca19 100644 --- a/tmux/.config/tmux/sessions/sport.session +++ b/tmux/.config/tmux/sessions/sport.session @@ -1,4 +1,4 @@ -new-window -n routine -send-keys "cd ~/documents/records; v workout.md" C-m I 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 diff --git a/tmux/.config/tmux/sessions/todo.session b/tmux/.config/tmux/sessions/todo.session new file mode 100644 index 0000000..1119aa9 --- /dev/null +++ b/tmux/.config/tmux/sessions/todo.session @@ -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