Skip to content

Groveer/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Personal Configurations

English | 中文

You can have the same user experience as me in Archlinux

Desktop Environment(Native Wayland)

Install packages in Archlinux (need aur):

Some tools can also be installed from cargo/pip/npm.

  1. shell
yay -S zsh eza rsync bat starship htop jq fastfetch neovim kitty
chsh -s /bin/zsh
  1. fonts

Download fonts from here: MapleMono-NF-CN.zip

wget https://github.com/subframe7536/maple-font/releases/latest/download/MapleMono-NF-CN-unhinted.zip   # screen > 1080p
wget https://github.com/subframe7536/maple-font/releases/latest/download/MapleMono-NF-CN.zip            # screen <= 1080p
unzip MapleMono-NF-CN.zip -d MapleFont
sudo cp -r MapleFont /usr/share/fonts
sudo fc-cache -fv
  1. niri
yay -S niri xwayland-satellite dunst libnotify rofi waybar swaylock-effects pipewire-pulse wf-recorder swayidle swaybg wl-clipboard
  1. dependency
yay -S polkit-gnome xdg-desktop-portal-gnome parallel qt5-imageformats qt6-imageformats brightnessctl pavucontrol pamixer
  1. theme
yay -S nwg-look qt5-wayland qt6-wayland sweet-gtk-theme-dark xcursor-breeze beautyline
  1. apps
yay -S google-chrome/firefox/zen-browser fcitx5
  1. others
python -m venv ~/.venv

If you use amdgpu, can install:

pip install pyamdgpuinfo

Init

  1. Install all packages.
  2. Run ./config.sh install, it will initialize env.
  3. Run chsh -s /bin/zsh.
  4. Relogin user and run startde w.
  5. If there is a conflicting file, delete it manually. run ./config.sh install

Important

./config.sh installwill rm your ~/.bashrc, please backup your ~/.bashrc first!

Run

run startde w in tty.

Update

./config.sh uninstall
git pull --rebase
./config.sh install

Uninstall

It is easy to rm the symbol, just run ./config.sh uninstall

Nix & home-manager

  1. install nix:
sh <(curl -L https://nixos.org/nix/install) --no-daemon
  1. update config:
./config.sh install
  1. install home-manager:
nix flake update
nix-shell -p home-manager
cd ~/.config/home-manager
home-manager switch --flake . --impure
  1. clean disk space:
nix-collect-garbage -d

Editor/IDE (Neovim)

Developer Environment (Neovim config dependeies)

Install packages:

yay -S python npm

Init python:

python -m venv ~/.venv

When after update python, can update venv:

python -m venv --upgrade ~/.venv

Install rust:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Update rust:

rustup update stable

Restart terminal will auto apply env.

pip and npm are just the basic environment configuration of neovim, it is highly recommended to use the :checkhealth command to see which commands are not installed after running the configuration of lua, you can continue to use the corresponding package management for installation!

install neovim config

default use git ssh, if you use http, modify .gitmodules, set url:

https://github.com/groveer/nvvim.git

Update git submodule:

git submodule update --init

Thanks to

  1. hyprdots: themes from here!