# dit is tmuxke 4
#!/bin/sh
# Setup a work space called `work` with tmux panes

#tmux attach ||  tmux session

#tmux kill-server
session="sessie22"


# create a new tmux session,
tmux new-session -d -s $session -n window-0


# Split pane 1 start screenfetch
tmux splitw -h 
tmux send-keys "links http://teletekst-data.nos.nl/webtekst?p=704-1" C-m 

# goto pane 0 
tmux selectp -t 0 
tmux send-keys "mutt" C-m 

# return to main sessie window
tmux select-window -t $session:0
tmux selectp -t 2 


tmux new-window -t sessie22 -n "window-1"
#selecteer het 1e window (0) met 4 panes
tmux select-window -t sessie22:1
#tmux send-keys -t sessie22:window-1 "landscape-sysinfo" C-m
#tmux send-keys -t sessie22:window-1 "curl wttr.in/tilburg?format=v2" C-m
tmux send-keys -t sessie22:window-1 "curl -s 'wttr.in/{tilburg,poppel,amsterdam}?0'" C-m


tmux splitw -h 
tmux send-keys -t sessie22:window-1 "newsboat" C-m

tmux selectp -t 0 


# Finished setup, attach to the tmux session!
tmux attach-session -t $session

