Skip to content

Ayash-Bera/configs

Repository files navigation

Hyprland Dotfiles

Complete Arch Linux + Hyprland configuration files for a fully functional desktop environment.

Features

  • Window Manager: Hyprland (Wayland compositor)
  • Status Bar: Waybar with custom styling
  • Application Launcher: Rofi with wallust dynamic theming
  • Terminal: Kitty with custom configuration
  • Shell: Fish with custom functions and plugins
  • Editor: Neovim with complete configuration
  • Notification Daemon: SwayNC
  • Theme Manager: Wallust (dynamic colors from wallpaper)
  • File Manager: Thunar
  • System Monitor: btop
  • Audio Visualizer: Cava

Screenshots

(Add your screenshots here)

Installation

Prerequisites

  • Arch Linux (or Arch-based distribution)
  • Internet connection
  • Git

Quick Install

  1. Clone the repository:

    cd ~
    git clone git@github.com:Ayash-Bera/configs.git .config-new
    cd .config-new
  2. Run the installation script:

    chmod +x install.sh
    ./install.sh
  3. Restart and select Hyprland:

    • Log out or reboot
    • Select Hyprland from your display manager
    • Enjoy your new setup!

Manual Installation

If you prefer to install manually:

  1. Install packages:

    # Install native packages
    sudo pacman -S --needed - < packages.txt
    
    # Install AUR helper (if needed)
    git clone https://aur.archlinux.org/yay.git /tmp/yay
    cd /tmp/yay && makepkg -si
    
    # Install AUR packages
    yay -S --needed - < aur-packages.txt
  2. Backup existing configs:

    mv ~/.config ~/.config-backup-(date +%Y%m%d)
  3. Symlink configs:

    ln -sf ~/path/to/dotfiles ~/.config
  4. Install home dotfiles:

    ln -sf ~/.config/home-dotfiles/.bashrc ~/.bashrc
    ln -sf ~/.config/home-dotfiles/.gtkrc-2.0 ~/.gtkrc-2.0
    ln -sf ~/.config/home-dotfiles/.p10k.zsh ~/.p10k.zsh
  5. Set Fish as default shell:

    chsh -s (which fish)
  6. Make scripts executable:

    chmod +x ~/.config/hypr/scripts/*.sh
    chmod +x ~/.config/hypr/UserScripts/*.sh

Configuration

Hyprland

Main configuration files are located in ~/.config/hypr/:

  • hyprland.conf - Main Hyprland configuration
  • UserConfigs/ - User-specific customizations
    • UserSettings.conf - Monitor, input, and general settings
    • UserKeybinds.conf - Custom keybindings
    • Startup_Apps.conf - Applications to start on launch

Keybindings

Main keybindings (SUPER = Windows/Command key):

Essential

  • SUPER + D - App launcher (rofi)
  • SUPER + Return - Terminal (kitty)
  • SUPER + E - File manager
  • SUPER + Q - Close window
  • SUPER + F - Toggle fullscreen
  • SUPER + V - Toggle floating
  • SUPER + M - Exit Hyprland

Window Management

  • SUPER + [1-9] - Switch to workspace
  • SUPER + SHIFT + [1-9] - Move window to workspace
  • SUPER + Arrow Keys - Move focus
  • SUPER + SHIFT + Arrow Keys - Move window
  • SUPER + Mouse Drag - Move window
  • SUPER + CTRL + Mouse Drag - Resize window

Utilities

  • SUPER + ALT + C - Calculator (rofi)
  • SUPER + ALT + E - Emoji picker (rofi)
  • SUPER + S - Web search (rofi)
  • SUPER + SHIFT + K - Show all keybindings (rofi)
  • SUPER + SHIFT + M - Music player menu (rofi)
  • SUPER + ALT + R - Reload waybar/rofi/swaync
  • Print - Screenshot

Rofi Themes

Rofi uses wallust for dynamic theming based on your wallpaper:

  • Colors are automatically generated from wallpaper
  • Configuration: ~/.config/rofi/wallust/colors-rofi.rasi
  • Change wallpaper: SUPER + W (wallpaper selector)

Waybar

Waybar configuration:

  • Main config: ~/.config/waybar/config.jsonc
  • Styles: ~/.config/waybar/style.css
  • Wallust colors: ~/.config/waybar/wallust/colors-waybar.css

Fish Shell

Fish configuration:

  • Main config: ~/.config/fish/config.fish
  • Custom functions: ~/.config/fish/my_functions.fish
  • Plugins: ~/.config/fish/fish_plugins

Install plugins:

fisher update

Theme Customization

Changing Wallpaper

  1. Press SUPER + W to open wallpaper selector
  2. Select wallpaper from the grid
  3. Colors will update automatically via wallust

Dark/Light Mode Toggle

  • Script: ~/.config/hypr/scripts/DarkLight.sh
  • Toggles between dark and light themes

Manual Theme Editing

Edit wallust colors manually:

nvim ~/.config/rofi/wallust/colors-rofi.rasi
nvim ~/.config/waybar/wallust/colors-waybar.css

Troubleshooting

Hyprland won't start

  1. Check Hyprland logs:

    cat ~/.config/hypr/hyprland.log
  2. Verify all dependencies are installed:

    pacman -Qqe | diff - packages.txt

Rofi themes not working

  1. Run wallust manually:

    wallust run ~/Pictures/wallpapers/your-wallpaper.png -s
  2. Reload configuration:

    SUPER + ALT + R

Fish plugins not loading

  1. Reinstall Fisher:

    curl -sL https://git.io/fisher | source
  2. Update plugins:

    fisher update

Scripts not executable

chmod +x ~/.config/hypr/scripts/*.sh
chmod +x ~/.config/hypr/UserScripts/*.sh

Directory Structure

~/.config/
├── ags/              # AGS widgets
├── btop/             # System monitor config
├── cava/             # Audio visualizer
├── dunst/            # Notification daemon
├── fastfetch/        # System info tool
├── fish/             # Fish shell config
├── fuzzel/           # App launcher (alternative)
├── ghostty/          # Terminal (alternative)
├── gtk-2.0/          # GTK2 theme
├── gtk-3.0/          # GTK3 theme
├── gtk-4.0/          # GTK4 theme
├── hypr/             # Hyprland configuration
├── kitty/            # Terminal config
├── neofetch/         # System info tool
├── nvim/             # Neovim configuration
├── rofi/             # Application launcher
├── swaync/           # Notification center
├── waybar/           # Status bar
├── wlogout/          # Logout menu
├── wofi/             # App launcher (alternative)
├── home-dotfiles/    # Home directory dotfiles
├── .gitignore        # Git ignore rules
├── README.md         # This file
├── install.sh        # Installation script
├── packages.txt      # Pacman packages
└── aur-packages.txt  # AUR packages

Credits

Based on configurations from:

License

Feel free to use and modify these configurations as needed.

Contributing

If you find any issues or have suggestions:

  1. Open an issue on GitHub
  2. Submit a pull request
  3. Share your improvements!

Maintained by: Ayash-Bera Repository: https://github.com/Ayash-Bera/configs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors