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

View File

@@ -39,16 +39,16 @@ bind l select-pane -R
bind r source-file "$XDG_CONFIG_HOME/tmux/tmux.conf" bind r source-file "$XDG_CONFIG_HOME/tmux/tmux.conf"
# sessionizer # sessionizer
bind f run-shell "tmux neww ~/.config/tmux/tmux-sessionizer" bind f run-shell "tmux neww ~/.config/tmux/scripts/tmux-sessionizer"
bind R run-shell "tmux neww ~/.config/tmux/tmux-sessionizer ~" bind R run-shell "tmux neww ~/.config/tmux/scripts/tmux-sessionizer ~"
bind g run-shell "tmux neww ~/.config/tmux/tmux-sessionizer ~/.config" bind g run-shell "tmux neww ~/.config/tmux/scripts/tmux-sessionizer ~/.config"
bind T run-shell "tmux neww ~/.config/tmux/tmux-sessionizer ~/temp" bind T run-shell "tmux neww ~/.config/tmux/scripts/tmux-sessionizer ~/temp"
# clone # clone
bind G run-shell "tmux neww ~/.config/tmux/tmux-ggclone" bind G run-shell "tmux neww ~/.config/tmux/scripts/tmux-ggclone"
# ssh # ssh
bind F run-shell "tmux neww ~/.config/tmux/tmux-ssher" bind F run-shell "tmux neww ~/.config/tmux/scripts/tmux-ssher"
# project # 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 n=nvim
alias s="ssh-menu" alias s="~/.config/bin/ssh-menu"
# docker # docker
alias dp="docker ps --format 'table {{.Names}}\t{{.Ports}}'" alias dp="docker ps --format 'table {{.Names}}\t{{.Ports}}'"

View File

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