Overview
Ghostty is a fast, modern terminal emulator used in the Kanagawa dotfiles. It features GPU acceleration, transparency, blur effects, and seamless theme integration.Ghostty is the default terminal in the Hyprland setup and is launched with
Super + T.Configuration Location
Main Configuration
The Ghostty configuration file (~/.config/ghostty/config) defines appearance, fonts, and behavior:
- Appearance
- Font
- Keybindings
- Behavior
Visual Settings
Transparency and Blur
Cursor Configuration
Window Padding
Background Blur
Blurred background for depth perception
Transparency
95% opacity blends with desktop
Theme Integration
Ghostty integrates with the Kanagawa theme system:How Theme Switching Works
Color File Format
Thecolors/colors file contains terminal color definitions:
These colors are automatically generated based on your selected theme and should not be manually edited.
Launching Ghostty
From Hyprland
Super + T
Environment Variables
Ghostty is launched withGTK_IM_MODULE=simple to ensure proper input method handling.
Performance Features
GPU Acceleration
Hardware-accelerated rendering for smooth performance
Fast Startup
Near-instant launch times
Low Latency
Minimal input lag for responsive typing
Efficient Blur
Optimized background blur effects
Configuration Tips
Adjusting Font Size
Adjusting Font Size
Change the Press
font-size value in the config:Ctrl+R after saving to reload the configuration.Changing Opacity
Changing Opacity
Adjust Values range from 0.0 (fully transparent) to 1.0 (fully opaque).
background-opacity for different transparency levels:Using Different Fonts
Using Different Fonts
Replace Ensure the font is installed on your system.
font-family with any installed Nerd Font:Disabling Blur
Disabling Blur
Set
background-blur to false for better performance on older hardware:Comparison with Other Terminals
| Feature | Ghostty | Kitty | Alacritty | Wezterm |
|---|---|---|---|---|
| GPU Acceleration | ✓ | ✓ | ✓ | ✓ |
| Background Blur | ✓ | ✗ | ✗ | ✗ |
| Config Reload | ✓ | ✓ | ✗ | ✓ |
| Ligatures | ✓ | ✓ | ✗ | ✓ |
| True Color | ✓ | ✓ | ✓ | ✓ |
Ghostty’s native background blur support sets it apart from other terminal emulators.
Troubleshooting
Blur not working
Blur not working
Ensure your compositor (Hyprland) supports blur effects and that
background-blur = true is set in the config.Font not displaying icons
Font not displaying icons
Make sure you’re using a Nerd Font variant (NFM). Install from nerdfonts.com.
Colors not updating
Colors not updating
Press
Ctrl+R to reload the configuration, or restart Ghostty completely.Input method issues
Input method issues
The
GTK_IM_MODULE=simple environment variable should resolve most input method problems. If issues persist, try different input method configurations.Next Steps
Shell Configuration
Configure Zsh and Oh My Zsh
Theme Switching
Learn how to switch themes