Update 2022-12-23 08:00 OpenBSD/amd64

This commit is contained in:
c0dev0id
2022-12-23 08:01:00 +01:00
parent e03c513330
commit af16fb60e8
3 changed files with 50 additions and 21 deletions

View File

@@ -13,20 +13,13 @@ then
window=1
tmux rename-window -t $session:$window 'edit'
tmux send-keys -t $session:$window 'cd ~/website/site' Enter
if [ ! -z "$arg" ]
then
tmux send-keys -t $session:$window "vim $arg" Enter
else
tmux send-keys -t $session:$window "nnn" Enter
fi
tmux send-keys -t $session:$window "nnn" Enter
# window 2
window=2
tmux new-window -t $session:$window -n 'build'
tmux send-keys -t $session:$window 'cd ~/website && make notify' Enter
tmux split-window -t $session:$window -v
tmux resize-pane -t $session:$window.1 -y 6
tmux send-keys -t $session:$window.1 'cd ~/website && make notify' Enter
tmux select-pane -U
# switch back to window 1
tmux select-window -t $session:1
luakit -n -u http://localhost >/dev/null 2>&1
# attach to session