Simplify so we can just run everything in the install dir

This commit is contained in:
David Heinemeier Hansson
2025-06-02 09:26:38 +02:00
parent 874c39f180
commit 2bdb064c02
5 changed files with 14 additions and 22 deletions

View File

@ -5,4 +5,10 @@ set -e
trap 'echo "Omarchy installation failed! You can retry by running: source ~/.local/share/omarchy/install.sh"' ERR trap 'echo "Omarchy installation failed! You can retry by running: source ~/.local/share/omarchy/install.sh"' ERR
# Install everything # Install everything
source ~/.local/share/omarchy/install/all.sh for f in ~/.local/share/omarchy/install/*.sh; do source "$f"; done
# Copy over Omarchy configs
cp -R ~/.local/share/omarchy/config/* ~/.config/
# Use default bashrc from Omarchy
echo "source ~/.local/share/omarchy/default/bash/rc" >~/.bashrc

View File

@ -1,9 +0,0 @@
# Install things in the right order
source ~/.local/share/omarchy/install/yay.sh
source ~/.local/share/omarchy/install/hyprlandia.sh
source ~/.local/share/omarchy/install/desktop.sh
source ~/.local/share/omarchy/install/terminal.sh
source ~/.local/share/omarchy/install/development.sh
source ~/.local/share/omarchy/install/docker.sh
source ~/.local/share/omarchy/install/ssdm.sh
source ~/.local/share/omarchy/install/configurations.sh

View File

@ -1,12 +0,0 @@
# Install LazyVim
git clone https://github.com/LazyVim/starter ~/.config/nvim
rm -rf ~/.config/nvim/.git
# Copy over Omarchy configs
cp -R ~/.local/share/omarchy/config/* ~/.config/
# Use default bashrc from Omarchy
echo "source ~/.local/share/omarchy/default/bash/rc" >~/.bashrc
# Turn off relative line numbers in nvim
echo "vim.opt.relativenumber = false" >>~/.config/nvim/lua/config/options.lua

View File

@ -2,3 +2,10 @@ yay -S --noconfirm \
nvim luarocks tree-sitter-cli \ nvim luarocks tree-sitter-cli \
mise github-cli \ mise github-cli \
lazygit lazydocker lazygit lazydocker
# Install LazyVim
git clone https://github.com/LazyVim/starter ~/.config/nvim
rm -rf ~/.config/nvim/.git
# Turn off relative line numbers in nvim
echo "vim.opt.relativenumber = false" >>~/.config/nvim/lua/config/options.lua