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