Installation
The installation is an interactive process. Whether using the standalone installer or the manual method, you will need to provide your own preferences.
Prerequisites
Section titled “Prerequisites”Installation
Section titled “Installation”sh <(curl --proto '=https' --tlsv1.3 -sSfL https://envyj020.github.io/dotfiles/run)- Clone the repository:
Terminal window git clone --depth 1 --recursive git@github.com:envyj020/dotfiles.gitcd dotfiles - Install the OS baseline packages:
Terminal window make base - Install mise and neovim dependencies:
Terminal window make bootstrap
Post-Installation
Section titled “Post-Installation”Congratulations! You’ve successfully installed this desktop environment. To ensure your workspace looks and behaves correctly after a reboot, please complete the following steps:
1. Optional: Set your wallpaper
Section titled “1. Optional: Set your wallpaper”By default, i3 and/or Sway look for their wallpaper at ~/Pictures/wallpaper.jpg. While a default one is provided
with the standalone installer method, you can set your own by replacing it.
2. Optional: API Tokens
Section titled “2. Optional: API Tokens”API access for certain services requires storing authentication token files under
your home directory. The provided .bashrc exports these variables by reading them
if they exists and keeps your sensitive keys out of your shell history and configuration files.
The table below outlines the expected filenames:
| Env var | Filename | Purpose |
|---|---|---|
GITHUB_TOKEN | ~/.GITHUB_TOKEN | Github CLI |
TINYURL_TOKEN | ~/.TINYURL_TOKEN | Bash URL shortener alias |
GEMINI_API_KEY | ~/.GEMINI_TOKEN | Gemini CLI |
ANTHROPIC_API_KEY | ~/.ANTHROPIC_TOKEN | Claude code CLI |
AVANTE_GEMINI_API_KEY | ~/.AVANTE_GEMINI_TOKEN | Neovim Avante Gemini provider |
AVANTE_ANTHROPIC_API_KEY | ~/.AVANTE_ANTHROPIC_TOKEN | Neovim Avante Claude provider |
3. Optional: Change i3/Sway terminal
Section titled “3. Optional: Change i3/Sway terminal”While Alacritty is set as the default term, you can switch to your preferred terminal by modifying
the $TERMINAL environment variable. This will automatically update the terminal launched by
the window manager mod+Enter shortcut.
...export TERMINAL=alacrittyexport TERMINAL=kitty...4. Configure your display layout
Section titled “4. Configure your display layout”Open your terminal and run the following command once you have your monitors arranged the way you like them:
autorandr --save defaultYet to spot a Wayland-native alternative that effectively replicates the display management workflow provided by arandr and autorandr on x11. For now outputs must be identified and applied right into Sway’s configuration:
- Identify your output/s:
Terminal window swaymsg -t get_outputs | jq -r '.[] | {name} + .rect | "\(.x),\(.y) \(.width)x\(.height) \(.name)"' - Open Sway’s config and adjust your output/s to fit your needs:
~/.config/sway/config ...output "eDP-1" mode 1920x1080@120Hz position 0,0... - Reload Sway config with
$mod+Shift+c