Skip to content

tiesen243/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My arch linux config with Hyprland

Preview

Hyprland + Waybar + Kitty

preview-01

preview-02

Rofi

preview-03

preview-04

Notification center

preview-05

Hyprlock

preview-06

Neovim

preview-07

Installation

  1. Install yay
pacman -Syu --needed git base-devel
git clone https://aur.archlinux.org/yay.git ~/yay
cd ~/yay
makepkg -si
rm -rf ~/yay
  1. Install all packages
yes | yay -S --answerclean All --answerdiff None \
  # Hyprland ecosystem
  hypridle hyprlock hyprpaper hyprpicker xdg-desktop-portal-hyprland \
  # UI & launchers
  rofi swaync thunar gvfs tumbler \
  # Fonts
  noto-fonts noto-fonts-cjk noto-fonts-emoji otf-geist otf-geist-mono-nerd \
  # Terminal & CLI tools
  kitty fastfetch zsh lazygit lsd ripgrep unzip github-cli \
  # Media & notifications
  ffmpeg brightnessctl playerctl libnotify grim slurp cliphist wl-clipboard \
  # Theming
  matugen-bin
  1. Install oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Remember to choose zsh as your default shell

Then, install zsh plugins

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
  1. Optional: Install some stuffs
  • UV (Python package manager)
curl -LsSf https://astral.sh/uv/install.sh | sh
  • NVM (Node Version Manager)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
  1. Set up github

Open the browser and login to your github account, then run the following command to set up the SSH key for your github account.

gh auth login
  1. Uninstall unnecessary packages (optional)
sudo pacman -Runs dunst htop nano vim wofi

Usage

  1. To apply my config, you can run the following command:

    git clone git@github.com:tiesen243/dotfiles.git ~/dotfiles

    Then, create the symbolic links to the config files

    rm ~/.zshrc
    rm -rf ~/.config/{Thunar,fastfetch,git,hypr,kitty,lazygit,lsd,matugen,nvim,rofi,swaync}
    
    ln -s ~/dotfiles/{Thunar,fastfetch,git,hypr,kitty,lazygit,lsd,matugen,nvim,rofi,swaync} ~/.config
    ln -s ~/dotfiles/zsh/themes/yuki.zsh-theme ~/.oh-my-zsh/custom/themes
    ln -s ~/dotfiles/zsh/config.zsh ~/.zshrc
    
    cp -r ~/dotfiles/matugen/templates/GTK-colors ~/.local/share/themes/Matugen

    Final, make all scripts in the dotfiles/scripts directory executable

    sudo chmod +x ~/dotfiles/scripts/*
  2. Change Wallpaper in ~/dotfiles/hypr/hyprpaper.conf

    $path = /path/to/your/wallpaper

    Or change file in ~/dotfiles/assets/_background.png

  3. Add your avatar to ~/dotfiles/assets/_avatar.png to show in the lock screen

  4. Enable system76-power service

    systemctl enable --now com.system76.PowerDaemon.service
  5. Generate colorschema

    matugen image /path/to/your/wallpaper
    # or
    matugen image ~/dotfiles/assets/_background.png
  6. Restart your system and enjoy it!

Conclusion

This is my personal config for my arch linux system. You can use it as a reference or clone it to your system. If you have any question, feel free to ask me.

My blog: here

License

This project is licensed under the MIT License - see the LICENSE file for details