My Arch Linux + Hyprland configuration with synchronized dual-monitor workspaces.
- Synchronized workspaces: Both monitors switch together (KDE-style virtual desktops)
- Smart monitor handling: Windows migrate automatically when external monitor disconnects
- Touchpad gestures: 3-finger swipe to switch workspaces
- Cursor preservation: Workspace switching doesn't move cursor
dotfiles/
├── hypr/ # Hyprland config
├── waybar/ # Waybar config
├── alacritty/ # Alacritty terminal config
├── tmux/ # Tmux config
├── scripts/ # Custom scripts (hypr-*, tmux-sessionizer)
├── zsh/ # Zsh config
├── git/ # Git config
└── libinput-gestures/ # Touchpad gestures
# Core
sudo pacman -S hyprland waybar zsh stow alacritty tmux fzf
# For gestures
yay -S libinput-gestures
sudo gpasswd -a $USER input
# For monitor event handling
sudo pacman -S socat jqgit clone https://github.com/YOUR_USERNAME/dotfiles.git ~/dotfiles
cd ~/dotfiles
./install.shOr install specific modules:
./install.sh hypr waybar scripts| Key | Laptop (eDP-1) | External (HDMI-A-1) |
|---|---|---|
| Super+1 | WS 1 | WS 11 |
| Super+2 | WS 2 | WS 12 |
| Super+3 | WS 3 | WS 13 |
| Super+4 | WS 4 | WS 14 |
| Super+7 | WS 5 | WS 15 |
| Super+8 | WS 6 | WS 16 |
| Super+9 | WS 7 | WS 17 |
| Super+0 | WS 8 | WS 18 |
hypr-switch-workspace- Switch synchronized workspace pairshypr-move-to-workspace- Move window (context-aware based on monitor)hypr-event-listener- Handle monitor connect/disconnect eventshypr-update-waybar- Update waybar config for monitor changeshypr-gesture-workspace- Handle touchpad gesture workspace switchingtmux-sessionizer- Fuzzy find and attach to project tmux sessions
- Requires Omarchy base config
- External monitor config assumes HDMI-A-1 above eDP-1