This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
This is a ThinkPad Hyprland rice repository that provides a complete desktop environment configuration for Arch Linux. It's designed as a "rice" - a customized Linux desktop setup with a cohesive theme and workflow.
install.sh: Main installation script that sets up the entire rice environment.config/hypr/: Hyprland window manager configuration split into modular files.config/waybar/: Status bar configuration with custom modules.config/kitty/: Terminal emulator configuration with Gruvbox theming.config/wofi/: Application launcher configurationwallpapers/: Collection of themed wallpapersreadme.md: User-facing documentation with installation instructions
The Hyprland configuration uses a modular approach with separate files:
hyprland.conf: Main config file that sources all other configsbind.conf: Keybinding definitionsanimation.conf: Animation settingslooknfeel.conf: Window aesthetics and stylingstartup.conf: Applications that launch at bootenv.conf: Environment variablesinput.conf: Input device configurationscolors.conf: Color scheme definitions
# Full system rice installation (Arch Linux only)
./install.sh
# Manual symlink creation after installation
stow .
# Backup existing configs before installation
mkdir -p ~/.config/backup
cp -r ~/.config/{hypr,waybar,kitty,wofi,btop,cava,yazi,zathura} ~/.config/backup/# Reload Hyprland configuration
hyprctl reload
# Test Hyprland config syntax
hyprctl --help
# Check which applications are running
hyprctl clients# The rice includes a wallpaper switcher script
# Location and usage should be checked in startup.conf or scripts directory
# Gruvbox theme is applied across all components
# Colors are defined in .config/hypr/colors.conf and gruvbox.confEach application follows the same pattern:
- Configuration files in
.config/<app>/ - Gruvbox color scheme consistency
- Integration with Hyprland ecosystem
The installation script follows this approach:
- System dependency checks (Arch Linux + pacman)
- Driver and font installation
- Package installation via pacman and yay (AUR helper)
- Configuration backup and symlink creation
- Service management (TLP power management, audio system)
All components share the Gruvbox theme:
- Terminal: Kitty with Gruvbox colors
- System Monitor: btop with Gruvbox theming
- Status Bar: Waybar with custom Gruvbox modules
- Notifications: swaync with Gruvbox styling
- Window Manager: Hyprland with Gruvbox-based colors
- OS: Arch Linux (pacman package manager required)
- Hardware: Optimized for ThinkPad laptops
- Display: Configured for 1920x1080 @60Hz (eDP-1 monitor)
- Audio: PipeWire audio system
- TLP service for laptop power optimization
- Brightness control via brightnessctl
- Bluetooth support through bluetui
System packages (pacman): hyprland, waybar, kitty, wofi, zsh, hyprlock, hyprpaper, stow, swaync, slurp, grim, wl-clipboard AUR packages (yay): btop, cava, fastfetch, swappy, yazi, zathura, wlogout Fonts: ttf-iosevka-nerd, ttf-iosevka-nerd-mono
- Monitor configuration for laptop display
- Workspace management
- Window rules for XWayland compatibility
- Custom keybindings for rice-specific applications
- Integration with screenshot tools (slurp, grim, swappy)
- Wayland clipboard support via wl-clipboard