diff --git a/home/bin/executable_linux-tmuxp-launcher b/home/bin/executable_linux-tmuxp-launcher new file mode 100644 index 00000000..2c82fde0 --- /dev/null +++ b/home/bin/executable_linux-tmuxp-launcher @@ -0,0 +1,11 @@ +#!/usr/bin/env bash +# https://github.com/starr-dusT/dotfiles + +tmuxp_files() { + ls ~/.config/tmuxp -1 +} + +selected="$(tmuxp_files | sed 's/.yml//g' | sort | fzf -e -i -m --reverse --delimiter / --with-nth -1)" +[ -z "$selected" ] && exit +echo "$selected" +tmuxp load "~/.config/tmuxp/$selected.yml" -y diff --git a/home/dot_aliases b/home/dot_aliases index f5e67b93..88388512 100644 --- a/home/dot_aliases +++ b/home/dot_aliases @@ -8,10 +8,8 @@ alias nu="cd ~/.local/share/chezmoi/provision && \ # sway alias s='sway' -# tmuxinator -alias tsplat='tmuxinator start splat' -alias tdot='tmuxinator start dot' -alias ttask='tmuxinator start task' +# tmuxp +alias t='linux-tmuxp-launcher' alias tw='linux-toggle-vpn' @@ -36,3 +34,9 @@ alias cz="cd ~/documents/zet" alias n="nnn -r -e" alias cp="cpg -g" alias mv="mvg -g" + +# git +alias gs="git status" +alias gc="git commit" +alias ga="git add ." +alias gd="git diff" diff --git a/home/dot_bash_profile b/home/dot_bash_profile index 63224ea0..74856049 100644 --- a/home/dot_bash_profile +++ b/home/dot_bash_profile @@ -1,3 +1,4 @@ +#!/usr/bin/env bash # https://github.com/starr-dusT/dotfiles # Load the shell dotfiles (that are available) diff --git a/home/dot_config/tmuxp/cad.yml b/home/dot_config/tmuxp/cad.yml index 239f361a..b89a6ef3 100644 --- a/home/dot_config/tmuxp/cad.yml +++ b/home/dot_config/tmuxp/cad.yml @@ -1,8 +1,14 @@ # tmuxp config for 3d modelling and printing session_name: cad +shell_command_before: + - cmd: distrobox enter arch-box && clear windows: - window_name: term + panes: + - shell_command: + - cd + - clear - window_name: cq panes: - shell_command: