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