Assume layouts are executable not tmux scripts
This commit is contained in:
parent
1ca9e4f6ae
commit
6678fe0aaf
@ -2,7 +2,7 @@ layout() {
|
|||||||
if [[ "$1" == "" ]]; then
|
if [[ "$1" == "" ]]; then
|
||||||
echo "usage: layout <layout> [name]"
|
echo "usage: layout <layout> [name]"
|
||||||
else
|
else
|
||||||
tmux source-file ~/.local/share/tmux/layouts/$1
|
~/.local/share/tmux/layouts/$1
|
||||||
if [[ "$2" != "" ]]; then
|
if [[ "$2" != "" ]]; then
|
||||||
tmux rename-window $2
|
tmux rename-window $2
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user