dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles # fast
git clone https://src.adamsgaard.dk/dotfiles.git # slow
Log | Files | Refs | README | LICENSE Back to index

commit 21ce24377e34b617780cebb5205b7a1d52a57992
parent b4a4ceaf743d5e328ef69e93ed17fad6fc939ec6
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Fri, 29 Jan 2021 14:17:25 +0100

calendar.sh: show calendar in tmux(1) pane

Diffstat:
M.local/bin/calendar.sh | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/.local/bin/calendar.sh b/.local/bin/calendar.sh @@ -2,6 +2,9 @@ set -e cd "${HOME}/.calendar" git pull +if test "$TMUX"; then + tmux split-window -l 9 "cal -3; sh" \; select-pane -U +fi $EDITOR "${HOME}/.calendar/calendar" git commit -a -m 'auto commit' git push