dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README

commit 5a578c5197c23519937275da659295ef9d37b8e1
parent f66d03410fc0a7d1779c6a429ce42bc3fd7f0985
Author: Pablo Cárdenas <pablo.cardenas@imca.edu.pe>
Date:   Tue,  5 Jul 2022 18:03:08 -0500

Added thesis command

Diffstat:
Alinux/.local/bin/thesis | 20++++++++++++++++++++
1 file changed, 20 insertions(+), 0 deletions(-)

diff --git a/linux/.local/bin/thesis b/linux/.local/bin/thesis @@ -0,0 +1,20 @@ +#!/bin/bash -v + +mkdir -p $HOME/Documents/IMCA/graduate_thesis/tex +cd $HOME/Documents/IMCA/graduate_thesis/tex + +if ! tmux has-session -t thesis; then + tmux new-session -s thesis -n main -d + + tmux split-window -h -t thesis + tmux select-layout -t thesis main-horizontal + + tmux send-keys -t thesis:0.0 'vim -S ~/.vim/session/thesis.vim' C-m + tmux send-keys -t thesis:0.1 'find | entr pdftex document.tex' C-m + setsid zathura document.pdf >/dev/null 2>&1 & + + tmux select-window -t imca:0 + tmux select-pane -t imca:0.0 +fi + +tmux attach -t thesis