Update 2024-02-14 07:51 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id
2024-02-14 07:54:31 +01:00
parent b55e6a3616
commit 9624895938
373 changed files with 19074 additions and 3045 deletions

27
.bin/OLD/webdev Executable file
View File

@@ -0,0 +1,27 @@
#!/bin/sh -x
session=webdev
socket=~/.tmux.sock
arg="$1"
if ! tmux att -t webdev >/dev/null 2>&1
then
# create session
tmux new-session -s $session -d
# window 1
window=1
tmux rename-window -t $session:$window 'edit'
tmux send-keys -t $session:$window 'cd ~/website/site' Enter
tmux send-keys -t $session:$window "nnn" 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
luakit -n -u http://localhost >/dev/null 2>&1
# attach to session
tmux att -t webdev
fi