Updated config

This commit is contained in:
Eduard Urbach 2024-04-11 12:53:14 +02:00
parent 8f7bfc957b
commit 59a3ae5d8a
Signed by: eduard
GPG key ID: 49226B848C78F6C8
3 changed files with 16 additions and 1 deletions

View file

@ -0,0 +1,15 @@
function t
if not tmux has-session -t main 2>/dev/null
init_session
end
tmux attach-session -t main
end
function init_session
tmux new-session -d -s main -d -x (tput cols) -y (tput lines)
tmux split-window -v -l 10 journalctl -f
tmux select-pane -t 0
tmux split-window -h -l 50 btop
tmux select-pane -t 0
end