tmux: Add gitea issue tracking to dotfile session

When no changes are detected, neither uncommitted nor changed, one of
the git-window panes will instead of a diff display a list of issues
from gitea.
This commit is contained in:
Marty Oehme 2022-03-10 23:04:11 +01:00
parent 27cbf30da0
commit b8fae73940
Signed by: Marty
GPG key ID: B7538B8F50A1C800

View file

@ -1,5 +1,5 @@
rename-window dot-git
send-keys "cd ~/.dotfiles; while true; do fd -t f --hidden | entr -cd git -c color.ui=always diff; done" C-m
send-keys "cd ~/.dotfiles; while true; do [[ -z $(git status -s) ]] && { fd -t f --hidden | entr -cd tea issue ;} || { fd -t f --hidden | entr -cd git -c color.ui=always diff ;} ; done"
split-window -h "cd ~/.dotfiles; while true; do fd -t f --hidden --exclude .git/objects | entr -cd git -c color.ui=always status; done"
split-window -v
send-keys "cd ~/.dotfiles; clear" C-m L C-m