feat: handoff to tmux on alacritty
This commit is contained in:
parent
483e78fde1
commit
f34546a7ac
|
@ -1,11 +1,16 @@
|
|||
#!/bin/bash
|
||||
|
||||
cp -a config/. ~/.config
|
||||
|
||||
# echo "source ~/.config/bash/bashrc" >> ~/.bashrc
|
||||
# actually, I want this command to be indempotent, mmh
|
||||
|
||||
# install core packages
|
||||
bash packages/core/1-lf.sh
|
||||
bash packages/core/2-tmux.sh
|
||||
bash packages/core/3-gnome-extensions.sh
|
||||
bash packages/core/4-alacritty.sh
|
||||
|
||||
alacritty --config-file ./config/alacritty/alacritty-autostart.yml --command "/usr/bin/bash"
|
||||
# hand off to alacritty
|
||||
chmod +x 3-tmux.sh
|
||||
alacritty --config-file ./config/alacritty/alacritty-autostart.yml --command "$HOME/nunOS/3-tmux.sh" &
|
||||
|
|
5
3-tmux.sh
Executable file
5
3-tmux.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
chmod +x 4-finegrained.sh
|
||||
/usr/bin/tmux new-session -d -s nunos "bash 4-finegrained.sh"
|
||||
/usr/bin/tmux attach -t nunos
|
||||
# -c "4-finegrained.sh"
|
1
4-finegrained.sh
Executable file
1
4-finegrained.sh
Executable file
|
@ -0,0 +1 @@
|
|||
echo 1 && sleep 2 && bash
|
|
@ -442,12 +442,12 @@ cursor:
|
|||
# - (macOS) /bin/bash --login
|
||||
# - (Linux/BSD) user login shell
|
||||
# - (Windows) powershell
|
||||
shell:
|
||||
program: /bin/bash
|
||||
args:
|
||||
- -l
|
||||
- -c
|
||||
- "bash" #tmuxp load desk"
|
||||
#shell:
|
||||
# program: /bin/bash
|
||||
# args:
|
||||
# - -l
|
||||
# - -c
|
||||
# - "bash" #tmuxp load desk"
|
||||
# - "tmux"
|
||||
# Startup directory
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue
Block a user