This commit is contained in:
thek4n 2024-05-23 19:39:21 +03:00
parent a69fd53fc3
commit 325c2a9f25
3 changed files with 7 additions and 5 deletions

View File

@ -135,4 +135,4 @@ fi
alias black='convert canvas:none PNG:- | feh -YF -'
# :)
alias PINK='beep -f 234 -l 550 -n -f 350 -l 450 -n -f 194 -l 450 -n -f 328 -l 550'
alias PINK='beep -f 233 -l 440 -n -f 349 -l 440 -n -f 196 -l 440 -n -f 330 -l 650'

View File

@ -9,9 +9,10 @@ WORKING_PROJECT="$HOME/dotfiles"
if ! tmux has-session -t "$SESSION"; then
tmux new-session -s "$SESSION" -d -n "$MAINW" -c "$WORKING_PROJECT"
tmux send-keys -t "$SESSION:$MAINW" '$EDITOR' Enter
tmux send-keys -t "$SESSION:$MAINW" , f f
tmux splitw -t "$SESSION:$MAINW" -d -b -h -l $_tmux_new_pane_size -c '#{pane_current_path}'
tmux splitw -t "$SESSION:$MAINW" -d -b -h -l "$_tmux_new_pane_size" -c '#{pane_current_path}'
tmux send-keys -t "$SESSION:$MAINW.2" '$EDITOR' Enter
tmux send-keys -t "$SESSION:$MAINW.2" , f f
tmux send-keys -t "$SESSION:$MAINW.1" "git pull" Enter
fi
tmux switch-client -t "$SESSION"

View File

@ -8,4 +8,5 @@ MAINW=1
WORKING_PROJECT="$(mktemp -d)"
tmux new-session -s "$SESSION" -d -n "$MAINW" -c "$WORKING_PROJECT"
tmux switch-client -t "$SESSION"
tmux switch-client -t "$SESSION"
tmux splitw -t "$SESSION:$MAINW" -d -b -h -l "$_tmux_new_pane_size" -c '#{pane_current_path}'