diff --git a/2-core.sh b/2-core.sh index d424680..e82ac62 100644 --- a/2-core.sh +++ b/2-core.sh @@ -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" & diff --git a/3-finegrained.sh b/3-finegrained.sh deleted file mode 100644 index e69de29..0000000 diff --git a/3-tmux.sh b/3-tmux.sh new file mode 100755 index 0000000..d4ecae0 --- /dev/null +++ b/3-tmux.sh @@ -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" diff --git a/4-finegrained.sh b/4-finegrained.sh new file mode 100755 index 0000000..638a1bc --- /dev/null +++ b/4-finegrained.sh @@ -0,0 +1 @@ +echo 1 && sleep 2 && bash diff --git a/4-launch.sh b/4-launch.sh deleted file mode 100644 index e69de29..0000000 diff --git a/config/alacritty/alacritty-autostart.yml b/config/alacritty/alacritty-autostart.yml index 8c21493..083e3c4 100644 --- a/config/alacritty/alacritty-autostart.yml +++ b/config/alacritty/alacritty-autostart.yml @@ -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 #