feat: handoff to tmux on alacritty

This commit is contained in:
NunoSempere 2023-11-14 21:50:39 +00:00
parent 483e78fde1
commit f34546a7ac
6 changed files with 18 additions and 7 deletions

View File

@ -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" &

View File

5
3-tmux.sh Executable file
View 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
View File

@ -0,0 +1 @@
echo 1 && sleep 2 && bash

View File

View File

@ -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
#