mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
Add tmuxp fzf launcher
This commit is contained in:
parent
d07b735820
commit
16fb72b397
11
home/bin/executable_linux-tmuxp-launcher
Normal file
11
home/bin/executable_linux-tmuxp-launcher
Normal file
@ -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
|
@ -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"
|
||||
|
@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
# https://github.com/starr-dusT/dotfiles
|
||||
|
||||
# Load the shell dotfiles (that are available)
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user