Make layouts executable scripts with shebangs
This commit is contained in:
parent
6aeadd4129
commit
905460fee4
4
layouts/session-local
Normal file → Executable file
4
layouts/session-local
Normal file → Executable file
@ -1,3 +1,5 @@
|
||||
#!/usr/bin/env -S tmux source-file
|
||||
|
||||
rename-window home
|
||||
|
||||
new-window -c ~/.config/nvim
|
||||
@ -15,4 +17,4 @@ move-window -s local:config/local -t 9
|
||||
|
||||
select-window -t local:home
|
||||
|
||||
# vim: filetype=tmux
|
||||
# vim: ft=tmux
|
||||
|
4
layouts/session-main
Normal file → Executable file
4
layouts/session-main
Normal file → Executable file
@ -1,4 +1,6 @@
|
||||
#!/usr/bin/env -S tmux source-file
|
||||
|
||||
rename-session main
|
||||
rename-window home
|
||||
|
||||
# vim: filetype=tmux
|
||||
# vim: ft=tmux
|
||||
|
2
layouts/session-visor
Normal file → Executable file
2
layouts/session-visor
Normal file → Executable file
@ -1,3 +1,5 @@
|
||||
#!/usr/bin/env -S tmux source-file
|
||||
|
||||
rename-window home
|
||||
split-window -h htop
|
||||
select-pane -t visor:home.1
|
||||
|
5
layouts/window-tall
Normal file → Executable file
5
layouts/window-tall
Normal file → Executable file
@ -1,3 +1,6 @@
|
||||
# vim: ft=tmux
|
||||
#!/usr/bin/env -S tmux source-file
|
||||
|
||||
split-window -v -l 34%
|
||||
select-pane -t 1
|
||||
|
||||
# vim: ft=tmux
|
||||
|
5
layouts/window-wide-left
Normal file → Executable file
5
layouts/window-wide-left
Normal file → Executable file
@ -1,3 +1,6 @@
|
||||
# vim: ft=tmux
|
||||
#!/usr/bin/env -S tmux source-file
|
||||
|
||||
split-window -h -l 43%
|
||||
select-pane -t 1
|
||||
|
||||
# vim: ft=tmux
|
||||
|
5
layouts/window-wide-right
Normal file → Executable file
5
layouts/window-wide-right
Normal file → Executable file
@ -1,3 +1,6 @@
|
||||
# vim: ft=tmux
|
||||
#!/usr/bin/env -S tmux source-file
|
||||
|
||||
split-window -h -l 57%
|
||||
select-pane -t 1
|
||||
|
||||
# vim: ft=tmux
|
||||
|
Loading…
x
Reference in New Issue
Block a user