Replace tmuxp with smug
This commit is contained in:
@@ -12,7 +12,12 @@ select_action() {
|
||||
}
|
||||
|
||||
launch_session() {
|
||||
bash -c "tmuxp load ~/.tmuxp/$1.yaml"
|
||||
tmux_pid=$(pidof tmux)
|
||||
if [ -z "$tmux_pid" ]; then
|
||||
kitty --class tmux -- smug start "$1"
|
||||
else
|
||||
tmux run-shell "smug start $1 2&>1 > /dev/null"
|
||||
fi
|
||||
}
|
||||
|
||||
execute_action() {
|
||||
Reference in New Issue
Block a user