Compare commits

...

4 Commits

Author SHA1 Message Date
729089d8aa even more tmux 2025-06-14 22:32:16 +02:00
048b69ae13 add tmux plugins 2025-06-14 22:30:49 +02:00
0d90f23ce5 add tmux 2025-06-14 22:30:03 +02:00
248068c55a add stow 2025-06-14 22:29:14 +02:00
13 changed files with 97 additions and 40 deletions

3
.config/.gitignore vendored
View File

@ -4,4 +4,5 @@
!btop/ !btop/
btop/btop.log btop/btop.log
!neofetch/ !neofetch/
!ssh/ !ssh/
!tmux/

8
.config/tmux/tmux.conf Normal file
View File

@ -0,0 +1,8 @@
unbind r
bind r source-file ~/.tmux.conf
set -g prefix C-y
set-environment -g TMUX_PLUGIN_MANAGER_PATH '~/.tmux/plugins/'
source-file ~/.config/tmux/tmux.conf.d/plugins.conf
source-file ~/.config/tmux/tmux.conf.d/keybinds.conf

View File

@ -0,0 +1,2 @@
set -g @catppuccin_flavor "mocha"
set -g @catppuccin_window_status_style "rounded"

View File

@ -0,0 +1,6 @@
bind-key w select-pane -U
bind-key a select-pane -L
bind-key s select-pane -D
bind-key d select-pane -R
bind-key c detach

View File

@ -0,0 +1,9 @@
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'catppuccin/tmux'
set -g @catppuccin_flavor "macchiato"
set -g @catppuccin_window_status_style "rounded"
#source-file '~/.config/tmux/tmux.conf.d/catppuccin.conf'
run "~/.tmux/plugins/tpm/tpm"

View File

@ -1,3 +1,3 @@
/* /*
!.gitignore !.gitignore
!example.gitconfig !example.gitconfig

View File

@ -1,14 +1,14 @@
[user] [user]
email = user@mail email = user@mail
name = John Doe name = John Doe
signingkey = 1234 signingkey = 1234
[credential] [credential]
helper = store helper = store
[push] [push]
autoSetupRemote = true autoSetupRemote = true
[core] [core]
autocrlf = true autocrlf = true
[pull] [pull]
rebase = true rebase = true
[commit] [commit]
gpgsign = true gpgsign = true

16
.gitignore vendored
View File

@ -1,15 +1 @@
/* .zshenv
!setup
!zsh/
!.gitignore
!.alias.d/
!.config/
!.gitconfig
!.gitconfig.d
!.p10k.zsh
!.zshrc
!.zshenv.template
!.profile
!install
!README.md

6
.gitmodules vendored
View File

@ -7,3 +7,9 @@
[submodule "zsh/themes/powerlevel10k"] [submodule "zsh/themes/powerlevel10k"]
path = zsh/themes/powerlevel10k path = zsh/themes/powerlevel10k
url = https://github.com/romkatv/powerlevel10k url = https://github.com/romkatv/powerlevel10k
[submodule ".config/tmux/plugins/tpm"]
path = .config/tmux/plugins/tpm
url = https://github.com/tmux-plugins/tpm
[submodule ".config/tmux/plugins/catppuccin-tmux"]
path = .config/tmux/plugins/catppuccin-tmux
url = https://github.com/catppuccin/tmux

7
.stow-local-ignore Normal file
View File

@ -0,0 +1,7 @@
.git
install
setup
.gitignore
.gitmodules
.zshenv.template
README.md

1
.tmux.conf Normal file
View File

@ -0,0 +1 @@
source-file ~/.config/tmux/tmux.conf

View File

@ -16,7 +16,10 @@ sudo apt install -yqq \
exa \ exa \
direnv \ direnv \
bat \ bat \
btop btop \
stow \
tmux \
dos2unix
echo echo
echo "[+] Installing Oh My Zsh..." echo "[+] Installing Oh My Zsh..."

42
setup
View File

@ -1,3 +1,34 @@
<<<<<<< HEAD
#!/usr/bin/env bash
set -e
echo "[+] Cloning submodules..."
git submodule update --init --recursive
echo "[+] Creating Gitconfigs..."
(
for config in $PWD/.gitconfig.d/*.gitconfig; do
echo "[include]"
echo " path = $config"
done;
) > "$HOME/.gitconfig"
echo "[+] Creating symlinks..."
ln -sf "$PWD/.zshrc" "$HOME/.zshrc"
ln -sf "$PWD/.p10k.zsh" "$HOME/.p10k.zsh"
ln -sf "$PWD/.config" "$HOME/.config"
ln -sf "$PWD/.alias.d" "$HOME/.alias.d"
ln -sf "$PWD/.profile" "$HOME/.profile"
if [ ! -f "$PWD/.zshenv" ]; then
cp "$PWD/.zshenv.template" "$PWD/.zshenv"
fi
ln -sf "$PWD/.zshenv" "$HOME/.zshenv"
=======
#!/usr/bin/env bash #!/usr/bin/env bash
set -e set -e
@ -5,6 +36,8 @@ set -e
echo "[+] Cloning submodules..." echo "[+] Cloning submodules..."
git submodule update --init --recursive git submodule update --init --recursive
find ./config/tmux -type d -name '.git*' -prune -o -type f -print0 | xargs -0 dos2unix
echo "[+] Creating Gitconfigs..." echo "[+] Creating Gitconfigs..."
( (
@ -16,14 +49,9 @@ echo "[+] Creating Gitconfigs..."
echo "[+] Creating symlinks..." echo "[+] Creating symlinks..."
ln -sf "$PWD/.zshrc" "$HOME/.zshrc"
ln -sf "$PWD/.p10k.zsh" "$HOME/.p10k.zsh"
ln -sf "$PWD/.config" "$HOME/.config"
ln -sf "$PWD/.alias.d" "$HOME/.alias.d"
ln -sf "$PWD/.profile" "$HOME/.profile"
if [ ! -f "$PWD/.zshenv" ]; then if [ ! -f "$PWD/.zshenv" ]; then
cp "$PWD/.zshenv.template" "$PWD/.zshenv" cp "$PWD/.zshenv.template" "$PWD/.zshenv"
fi fi
ln -sf "$PWD/.zshenv" "$HOME/.zshenv" stow .
>>>>>>> ae6c9c8 (add tmux plugins)