Hyprland setup for ThinkPad X1 Carbon 6th (Arch Linux).
| Package | Config |
|---|---|
| hyprland | compositor, keybindings |
| waybar | status bar with CPU/power/temp/battery/volume/brightness |
| rofi | application launcher |
| kitty | terminal |
# 1. Install required packages
pacman -S --needed - < packages.txt
# 2. Install dotfiles (backs up existing configs, creates symlinks)
./install.sh# List available backups
./restore.sh
# Restore a specific backup
./restore.sh ~/.dotfiles-backup/20240101_120000Uses GNU Stow to manage symlinks. Each app is a stow package mirroring the target filesystem layout:
dotfiles/
├── waybar/.config/waybar/ → ~/.config/waybar/
├── hypr/.config/hypr/ → ~/.config/hypr/
├── rofi/.config/rofi/ → ~/.config/rofi/
├── kitty/.config/kitty/ → ~/.config/kitty/
└── wallpapers/wallpapers/ → ~/wallpapers/
Editing files in ~/.config/ edits the dotfiles directly (they are symlinks).
| File | Purpose |
|---|---|
~/.config/hypr/monitors.default.conf |
Tracked default (auto-detect all monitors) |
~/.config/hypr/monitors.conf |
Your machine-specific config (gitignored) |
install.sh creates monitors.conf from the default if it doesn't exist.
Edit that file to configure your displays:
# Example: ~/.config/hypr/monitors.conf
monitor=eDP-1, 2560x1440@60, 0x2160, 1.25
monitor=DP-2, 3840x2160@59.99700, 0x0, 1.5See the Hyprland monitor docs for syntax.