Updated config

This commit is contained in:
Eduard Urbach 2024-04-11 12:53:14 +02:00
parent ea23c1fbce
commit a6b6c608aa
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0
3 changed files with 16 additions and 1 deletions

View File

@ -54,7 +54,6 @@ alias paur "pacman -Qm"
alias porphan "pacman -Qtdq" alias porphan "pacman -Qtdq"
# Tmux # Tmux
alias t "tmux"
alias ta "tmux attach" alias ta "tmux attach"
alias td "tmux detach" alias td "tmux detach"
alias tl "tmux ls" alias tl "tmux ls"

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

1
.gitignore vendored
View File

@ -1,4 +1,5 @@
/* /*
*.log
!.gitignore !.gitignore
!/.config !/.config
/.config/* /.config/*