Minimal, lightweight Hyprland/Sway dotfiles for Arch, in Catppuccin Mocha.
- Portable: displays, GPU driver and undervolt support are detected at runtime, not hardcoded.
- NVIDIA support, including 580-series drivers when needed.
- Battery first: tlp, intel-undervolt and NVIDIA D3cold power-off.
- (Minimal profile) Arch Linux
- Internet connection
This should preferably run after a clean arch install
curl -f https://raw.githubusercontent.com/agustux/dots/main/install.sh | bash -s -- <flags>
| Flag | Description |
|---|---|
--hypr |
Install Hyprland (default when neither --gnome nor --sway is given) |
--sway |
Install Sway; add --hypr to also install Hyprland |
--gnome |
Install GNOME and switch the display manager from ly to GDM Add --hypr/--sway for a WM |
| Flag | Description |
|---|---|
--nvidia |
Install NVIDIA drivers/config (auto-detected otherwise) |
--graphics |
Install Mesa/Vulkan + lib32 graphics stack (included in --bloat) |
| Flag | Description |
|---|---|
--foot |
Install foot instead of Ghostty as the terminal |
--virt |
Install VirtualBox, DKMS host modules, Guest Additions ISO, and Oracle extension pack |
--print |
Install CUPS printing and Avahi/mDNS discovery (not included in --bloat) |
--bloat |
Everything: --gnome --sway --hypr --graphics --nvidia+ all-vendor GPU/microcode and extra tools |
| Flag | Description |
|---|---|
--noswap |
Skip creating the 4GB swapfile, for really storage-constrained systems |
--update |
Only update dotfiles (for existing installs) |
The installer may modify your system configuration and will install packages. Review install.sh before running it if you want to see exactly what will be changed.
The default session. Both WMs can be installed side by side (--hypr --sway); pick one at the display manager.
- Per-machine overrides (e.g. terminal) go in the untracked
~/.config/hypr/local.lua, created by the installer. - Only Hyprland has pseudotiling.
Kept at parity with Hyprland where Sway allows it. Both configs are always deployed, even if only one WM is installed.
- Per-machine overrides (e.g. terminal) go in the untracked
~/.config/sway/local.conf, created by the installer. /usr/local/bin/swaywraps the stock binary so ly's "Sway" entry gets the same GPU, VA-API, cursor and Qt env as Hyprland.--updateonly refreshes it if--swayis passed.- Reload the config with
Super + Shift + R.
Both WMs source their GPU env from ~/.config/scripts/gpu-env.sh at session start (Hyprland via hyprland.lua, Sway via sway-session).
- Render GPU: the card driving the connected internal panel (eDP/LVDS), else the
boot_vgacard, else the first card. - Multi-GPU: the compositor is pinned to it (
AQ_DRM_DEVICES/WLR_DRM_DEVICES). LIBVA_DRIVER_NAMEfollows the render GPU's vendor; unknown vendors (VMs) are left to autodetect.- If NVIDIA is loaded but not rendering, EGL is pinned to Mesa so the dGPU can reach D3cold. Offload with
env -u __EGL_VENDOR_LIBRARY_FILENAMES prime-run <app>.
Super is the main modifier.
| Keys | Action |
|---|---|
Super + Q |
Terminal (Ghostty, or foot if used --foot) |
Super + E |
File manager (Nautilus) |
Super + B |
Browser (Brave Origin) |
Super + R |
Launcher (rofi) |
Super + W |
Toggle Waybar |
Super + Shift + Q |
Lock session |
Super + M |
Exit Hyprland |
Super + Shift + R |
Reload config (Sway only; Hyprland reloads on save) |
| Keys | Action |
|---|---|
Print |
Region |
Alt + Print |
Window |
Super + Print |
Primary output |
Super + Shift + P |
Region |
Super + Alt + P |
Window |
Super + Ctrl + P |
Primary output |
| Keys | Action |
|---|---|
Super + C |
Close |
Super + P |
Pseudotile |
Super + T |
Toggle split |
Super + V |
Toggle floating |
Super + F |
Toggle fullscreen |
Super + H/J/K/L |
Focus left/down/up/right |
Super + Shift + H/J/K/L |
Swap window left/down/up/right |
Super + LMB drag |
Move |
Super + RMB drag |
Resize |
Super + Ctrl + R |
Resize mode: H/L shrink/grow width, K/J shrink/grow height, Esc/Enter exits |
| Keys | Action |
|---|---|
Super + 1–0 |
Switch to workspace 1–10 |
Super + Shift + 1–0 |
Move window to workspace 1–10 |
Super + Scroll |
Cycle workspaces |
| 3-finger swipe | Switch workspace |
Super + S |
Toggle scratchpad |
Super + Shift + S |
Move window to scratchpad |
