Compare commits
4 Commits
5d24bfda0b
...
729089d8aa
Author | SHA1 | Date | |
---|---|---|---|
729089d8aa | |||
048b69ae13 | |||
0d90f23ce5 | |||
248068c55a |
3
.config/.gitignore
vendored
3
.config/.gitignore
vendored
@ -4,4 +4,5 @@
|
|||||||
!btop/
|
!btop/
|
||||||
btop/btop.log
|
btop/btop.log
|
||||||
!neofetch/
|
!neofetch/
|
||||||
!ssh/
|
!ssh/
|
||||||
|
!tmux/
|
||||||
|
8
.config/tmux/tmux.conf
Normal file
8
.config/tmux/tmux.conf
Normal 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
|
2
.config/tmux/tmux.conf.d/catppuccin.conf
Normal file
2
.config/tmux/tmux.conf.d/catppuccin.conf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
set -g @catppuccin_flavor "mocha"
|
||||||
|
set -g @catppuccin_window_status_style "rounded"
|
6
.config/tmux/tmux.conf.d/keybinds.conf
Normal file
6
.config/tmux/tmux.conf.d/keybinds.conf
Normal 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
|
9
.config/tmux/tmux.conf.d/plugins.conf
Normal file
9
.config/tmux/tmux.conf.d/plugins.conf
Normal 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"
|
4
.gitconfig.d/.gitignore
vendored
4
.gitconfig.d/.gitignore
vendored
@ -1,3 +1,3 @@
|
|||||||
/*
|
/*
|
||||||
!.gitignore
|
!.gitignore
|
||||||
!example.gitconfig
|
!example.gitconfig
|
@ -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
16
.gitignore
vendored
@ -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
6
.gitmodules
vendored
@ -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
7
.stow-local-ignore
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
.git
|
||||||
|
install
|
||||||
|
setup
|
||||||
|
.gitignore
|
||||||
|
.gitmodules
|
||||||
|
.zshenv.template
|
||||||
|
README.md
|
1
.tmux.conf
Normal file
1
.tmux.conf
Normal file
@ -0,0 +1 @@
|
|||||||
|
source-file ~/.config/tmux/tmux.conf
|
5
install
5
install
@ -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
42
setup
@ -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)
|
||||||
|
Reference in New Issue
Block a user