Important This repo is made for personal use and is not intended to be used by others. However, feel free to use it as a reference or inspiration for your own dotfiles.
This repository contains my dotfiles and uses GNU Stow to manage them.
This is the first thing to do on a fresh Omarchy install to get back to a working setup quickly.
If the machine is fresh and the repo is not cloned yet, use the entrypoint:
bash <(curl -fsSL https://raw.githubusercontent.com/Andreasgdp/dotfiles/master/install-scripts/entrypoint.sh)That flow does this:
- Ensures the minimum bootstrap tools are present.
- Clones the repo into
~/dotfilesif it is not already there. - Hands off to
./setup.sh/install-scripts/bootstrap.sh. - Prompts through repo packages, AUR packages, Flatpak apps, and stowed dotfiles.
- Clone this repo into
~/dotfiles. - Run
./setup.sh. - Follow the prompts to install repo packages, AUR packages, Flatpak apps, and stowed dotfile packages.
git clone https://github.com/Andreasgdp/dotfiles.git ~/dotfiles
cd ~/dotfiles
./setup.shThat bootstrap flow is the source of truth for getting the machine back into a usable state.
- repo packages from
install-scripts/manifests/linux-omarchy-packages.txt - AUR packages from
install-scripts/manifests/linux-omarchy-aur-packages.txt - Flatpak apps from
install-scripts/manifests/linux-flatpak-apps.txt - dotfile packages via GNU Stow
If packages are already installed and only the config needs to be synced:
cd ~/dotfiles
./install-scripts/sync-dotfiles.shOr stow a single package manually, for example:
stow nvimThat creates a symlink from ~/.config/nvim to ~/dotfiles/nvim.
[Login]
...
HandlePowerKey=hibernate
#HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
HandleLidSwitch=suspend
...
HoldoffTimeoutSec=30s
IdleAction=hybrid-sleep
IdleActionSec=30min
...This is my neovim setup. I use it for web development, so it's optimized for that.
It is based on LazyVim.
Run the following if something goes wrong and you want to reset your local neovim setup to the state from the one in this repository.
rm -rf ~/.local/share/nvim
rm -rf ~/.local/state/nvim/If you ever get the error of lsp syntax highlight working wonky in typescript run the following nvim commands
:TSInstall typescript
:TSInstall tsx