Waos
š§© Syntax:
=======================
i3 Window Manager Notes
=======================
Author: Me
Purpose: Quick reference for i3 shortcuts, fixes, and commands
Last Updated: [Update this when needed]
-----------------------
i3 Basics & Navigation
-----------------------
# Mod key (usually the "Windows" key) is represented as $mod
$mod+Enter ā Open terminal (Alacritty)
$mod+d ā Launch application launcher (rofi)
$mod+Shift+q ā Close focused window
$mod+Shift+r ā Reload i3 config
$mod+Shift+e ā Exit i3 (with confirmation)
$mod+f ā Toggle fullscreen
$mod+h/j/k/l ā Focus left/down/up/right
$mod+Shift+h/j/k/l ā Move window left/down/up/right
$mod+1..9 ā Switch to workspace 1ā9
$mod+Shift+1..9 ā Move window to workspace 1ā9
-----------------------
App Launcher (rofi)
-----------------------
- Installed via: `sudo pacman -S rofi`
- Bound to: `$mod+d`
- You can change the theme or use dmenu if preferred
-----------------------
Terminal (Alacritty)
-----------------------
- Installed via: `sudo pacman -S alacritty`
- Bound to: `$mod+Enter`
-----------------------
Keybinds You Added
-----------------------
# Example custom binding:
$mod+n ā Open this notes file in terminal
bindsym $mod+n exec alacritty -e nano ~/i3-notes.txt
-----------------------
Editing i3 Config
-----------------------
File location:
~/.config/i3/config
Edit with:
nano ~/.config/i3/config
After editing, reload i3:
$mod+Shift+r
-----------------------
Networking Fixes
-----------------------
If pacman can't resolve hosts (no internet):
ā Reboot into Arch Live USB
ā Mount partitions and chroot:
mount /dev/sdXn /mnt
mount /dev/sdXn /mnt/boot
mount /dev/sdXn /mnt/boot/efi
arch-chroot /mnt
Then install network tools:
pacman -S networkmanager dhcpcd
systemctl enable NetworkManager
Then exit and reboot.
-----------------------
Useful Tools
-----------------------
pacman ā Package manager
reflector ā Update mirrors
rofi/dmenu ā App launchers
i3lock ā Lock screen
flameshot ā Screenshots
feh ā Wallpaper
htop ā System monitor
neofetch ā System info
-----------------------
Tips & Tricks
-----------------------
- Comment lines in config with `#`
- Don't duplicate keybinds (i3 will throw an error)
- Use `$mod+Shift+r` to reload i3 after edits
- Use `i3-dump-log` to debug i3 startup/config issues
-----------------------
To-Do / My Changes
-----------------------
[ ] Add screenshot binding
[ ] Add volume control
[ ] Try custom wallpaper with feh
[ ] Setup autostart apps in config