Skip to content

ToaaMusic/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Arch Linux + Hyprland Configuration

This repository contains my personal configuration files for Arch Linux with the Hyprland window manager. It includes settings for various applications and tools that I use regularly.

Components

Component Description Official Doc Repository Folder
hyprland Wayland compositor https://wiki.hyprland.org/ hypr
fastfetch System info fetcher https://github.com/fastfetch-cli/fastfetch fastfetch
waybar Status bar https://github.com/Alexays/Waybar/wiki waybar
rofi App launcher https://github.com/davatorium/rofi rofi
kitty Terminal https://sw.kovidgoyal.net/kitty/ kitty
yazi Tui file manager https://yazi-rs.github.io/ yazi
dunst Notification https://dunst-project.org/ dunst
cava Tui audio visualizer https://github.com/karlstav/cava cava

Installation

To copy my configurations, clone the repository to a safe location you like, for example ~/repos, and copy the files in ~/repos/dotfiles/config/* to ~/.config/*. Make sure to back up any existing configuration files before overwriting them.

git clone https://github.com/ToaaMusic/dotfiles.git
cd dotfiles
# Copy files to ~/.config/* or run:
./link.sh

link.sh is a script that creates symbolic links from the repository to the appropriate configuration directories.

Like this:

~/.config  symlink to  ~/repos/dotfiles/config
├── hypr   --------->  ├── hypr
├── waybar --------->  ├── waybar
├── rofi   --------->  ├── rofi
├── kitty  --------->  ├── kitty
└── ...                      └── ...

Dependencies

  • hyprpaper <- wallpaper.
  • mpvpaper <- Dynamic wallpaper. (optional)
  • lua ~ Tool language. (IMPORTANT)
  • grim, slurp, wl-copy <- Screenshot, Selection, and copy to clipboard
  • ffmpeg ~ img transportor.

After installing the key components, if you want the full experience or just lazy to customize everything, you can simply install them all.

sudo pacman -S kitty hyprland hyprpaper waybar fastfetch rofi dunst cava yazi
sudo pacman -S musicfox grim slurp wl-copy mpvpaper lua ffmpeg

Usage

Shortcuts

See markdown in config/hypr/ for more.

Default Action
ALT + C Close active window
ALT + M Exit hyprland
ALT + V Toggle floating mode for
ALT + Q Open Terminal
ALT + 1~9 Switch workspace
ALT + SHIFT + 1~9 Move window to target workspace
F11 Toggle fullsceen
``
Custom Action
ALT + F Open File Manager (yazi)
ALT + Z Open musicfox
ALT + A Open rofi
ALT + E Open edge
ALT + W Set a random wallpaper
ALT + SHIFT + W Set a random Dynimic wallpaper
ALT + R Refresh display
ALT + H Toggle bar layout
ALT + B Generate and apply colors from fullscreen
ALT + SHIFT + B ~ from a screen selection
PrtSc Grab screen to clipboard
``

Tools

See tools/ for more.

  • colorscheme/

    Give gen.lua a ppm input and it will output *.g.* to ~/.config/*/, then those components will apply the color scheme by themselves.

    grim -t ppm - | lua gen.lua

    or

    ffmpeg -v error -i "$WALL" -f image2pipe -vcodec ppm - | lua gen.lua