refactor: reorganize scripts to idiomatic locations

This commit is contained in:
2026-03-11 14:14:24 +01:00
parent 68302ad3d6
commit 80444180d2
9 changed files with 15 additions and 14 deletions

11
.gitignore vendored
View File

@@ -17,7 +17,6 @@ zsh/*
!zsh/.zprofile
!zsh/scripts.zsh
!zsh/aliases.zsh
!zsh/ssh-menu
# starship
!starship
@@ -28,10 +27,7 @@ starship/*
!tmux
tmux/*
!tmux/tmux.conf
!tmux/tmux-new-project
!tmux/tmux-sessionizer
!tmux/tmux-ggclone
!tmux/tmux-ssher
!tmux/scripts
# git
!git
@@ -64,6 +60,11 @@ swaylock/*
swayidle/*
!swayidle/config
# bin
!bin
bin/*
!bin/ssh-menu
# flameshot
!flameshot
flameshot/*

View File

@@ -39,16 +39,16 @@ bind l select-pane -R
bind r source-file "$XDG_CONFIG_HOME/tmux/tmux.conf"
# sessionizer
bind f run-shell "tmux neww ~/.config/tmux/tmux-sessionizer"
bind R run-shell "tmux neww ~/.config/tmux/tmux-sessionizer ~"
bind g run-shell "tmux neww ~/.config/tmux/tmux-sessionizer ~/.config"
bind T run-shell "tmux neww ~/.config/tmux/tmux-sessionizer ~/temp"
bind f run-shell "tmux neww ~/.config/tmux/scripts/tmux-sessionizer"
bind R run-shell "tmux neww ~/.config/tmux/scripts/tmux-sessionizer ~"
bind g run-shell "tmux neww ~/.config/tmux/scripts/tmux-sessionizer ~/.config"
bind T run-shell "tmux neww ~/.config/tmux/scripts/tmux-sessionizer ~/temp"
# clone
bind G run-shell "tmux neww ~/.config/tmux/tmux-ggclone"
bind G run-shell "tmux neww ~/.config/tmux/scripts/tmux-ggclone"
# ssh
bind F run-shell "tmux neww ~/.config/tmux/tmux-ssher"
bind F run-shell "tmux neww ~/.config/tmux/scripts/tmux-ssher"
# project
bind N run-shell "tmux neww ~/.config/tmux/tmux-new-project"
bind N run-shell "tmux neww ~/.config/tmux/scripts/tmux-new-project"

View File

@@ -3,7 +3,7 @@ alias t=tmux_attach
alias n=nvim
alias s="ssh-menu"
alias s="~/.config/bin/ssh-menu"
# docker
alias dp="docker ps --format 'table {{.Names}}\t{{.Ports}}'"

View File

@@ -26,7 +26,7 @@ function tmux_attach {
fi
if [[ -z $tmux_running ]]; then
~/.config/tmux/tmux-sessionizer ~
~/.config/tmux/scripts/tmux-sessionizer ~
else
tmux a
fi