A clean and minimal i3 configuration with custom status bar using i3blocks.
- Clean Layout: Organized configuration with minimal comments
- Custom Workspaces: Named workspaces for different applications
- Status Bar: Custom i3blocks configuration with system monitoring
- Application Assignments: Automatic workspace assignments for specific apps
- Floating Dialogs: Enhanced dialog window handling
- Dark Theme: Black color scheme with accent colors
-
Install required dependencies:
sudo pacman -S i3-wm i3blocks alacritty dmenu feh compton flameshot
-
Copy configuration files:
mkdir -p ~/.config/i3 cp config ~/.config/i3/ cp i3blocks.conf ~/.config/i3/
-
Add wallpaper:
# Place your wallpaper at ~/Downloads/wallpaper.jpg # Or modify the path in the config file
-
Restart i3 or reload configuration:
Mod+Shift+r
| Key Combination | Action |
|---|---|
Mod + Return |
Open terminal (alacritty) |
Mod + d |
Application launcher (dmenu) |
Mod + q |
Kill focused window |
Mod + Shift + s |
Screenshot (flameshot) |
Mod + Shift + x |
Lock screen |
Mod + f |
Fullscreen toggle |
Mod + h/v |
Split horizontal/vertical |
Mod + s/w/e |
Stacking/Tabbed/Split layout |
Mod + r |
Resize mode |
Mod + Shift + c |
Reload configuration |
Mod + Shift + r |
Restart i3 |
- 1: terminal - Terminal applications
- 2: neovim - Code editor (VS Code assigned here)
- 3: firefox - Firefox browser
- 4: brave - Brave browser
- 5-10 - General purpose workspaces
The i3blocks configuration includes:
- Volume control
- Memory usage
- Disk usage
- WiFi status
- Bandwidth monitor
- CPU usage
- Battery status
- Date and time (with seconds)
- Audio: PulseAudio volume controls
- Brightness: xbacklight controls
- Mouse: Logitech Wireless Mouse configuration
- Display: Dual monitor setup (eDP-1 + HDMI-1)
- Touchpad: Toggle functionality
Modify the color variables in the config:
set $bg-color #000000 # Background
set $inactive-bg-color #2f343f # Inactive windows
set $text-color #f3f4f5 # Text
set $urgent-bg-color #E53935 # Urgent windowsChange wallpaper path:
exec_always feh --bg-scale ~/path/to/your/wallpaper.jpgModify application assignments:
assign [class="YourApp"] $ws1- i3-wm: Window manager
- i3blocks: Status bar
- alacritty: Terminal emulator
- dmenu: Application launcher
- feh: Wallpaper setter
- compton: Compositor
- flameshot: Screenshot tool
- xbacklight: Brightness control
- pulseaudio: Audio system
~/.config/i3/
├── config # Main i3 configuration
└── i3blocks.conf # Status bar configuration