chore: Add setup and teardown scripts for producing previews

This commit is contained in:
2019-12-22 09:39:52 +00:00
parent 145bcf7ec9
commit cc91c23df4
2 changed files with 22 additions and 0 deletions

17
preview-setup.bash Executable file
View File

@@ -0,0 +1,17 @@
#! /usr/bin/env bash
name=tmuxthemepack-previews
tmux -L "$name" kill-server
tmux -L "$name" new-session -d -s other
tmux -L "$name" new-session -d -s test
tmux -L "$name" new-session -d -s themes -n main
tmux -L "$name" new-window
tmux -L "$name" new-window
tmux -L "$name" select-window -t themes:0
tmux -L "$name" split-window -t themes -h
tmux -L "$name" split-window -t themes -v
tmux -L "$name" clock -t themes
tmux -L "$name" select-pane -t themes:0.1
tmux -L "$name" choose-tree -s
tmux -L "$name" attach -t themes

5
preview-teardown.bash Executable file
View File

@@ -0,0 +1,5 @@
#! /usr/bin/env bash
name=tmuxthemepack-previews
tmux -L "$name" kill-server