dotfiles

My personal dotfiles for Archlinux and Hyprland

MIT License

Stars
2
Committers
1

My personal dotfiles for Hyprland

Basic dependencies

sudo pacman -Syy \
base-devel \
mtpfs \
gvfs gvfs-mtp gvfs-gphoto2 \
gnome-keyring \
jq unzip unrar \
bluez bluez-utils \
zsh neovim git
cd /tmp
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

Necessary dependencies

yay -S base-devel \
hyprland xdg-desktop-portal-hyprland wayland-protocols \
waybar waybar-hyprland wlogout wofi \
hyprpicker wl-clipboard swww swaync swaylock-effects-git grim slurp \
qt5-base qt5-wayland qt6-base qt6-wayland qt5ct qt6ct polkit-gnome \
pipewire pipewire-alsa pipewire-pulse pipewire-jack wireplumber \
brightnessctl playerctl pavucontrol-gtk3 mpd mpd-mpris \
yad blueman network-manager-applet libinput-gestures \
cava kitty starship tty-clock-git btop geany bat cliphist \
git-delta reflector \
--needed

Install dependencies for ZSH

# install ohmyzsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" 

# install zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

# install zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

# install zsh-completions
git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-completions

Install dependencies for Neovim

yay -S ripgrep fd azygit

# clone config
git clone https://github.com/Figaarillo/nvim-conifg ~/.config/nvim

Install dependencies for Tmux

git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

# To enable tmux plugin manager you neeed to press
# `prefix` + R
# and `prefix` + I

Extra dependencies

  • Utils
yay -S \
xdg-user-dirs xdg-utils \
system76-power \
uget tldr tree \
qalculate-gtk qimgv-light \
tumbler tumbler-extra-thumbnailers \
--needed
  • Obs
yay -S obs-studio wlrobs-hg v4l2loopback-dkms v4l2loopback-utils v4l-utils
  • Thunar
yay -S thunar thunar-archive-plugin thunar-shares-plugin thunar-volmam
  • Apps
yay -S discord spotify telegram-desktop
  • Extras
yay -S nemo gamemode g4music visual-studio-code-bin light chromium-wayland-vaapi libreoffice-fresh rlr-git bulky waydroid binder_linux-dkms

For me

yay -S lazydocker obsidian 
# Magical shell history 
curl --proto '=https' --tlsv1.2 -LsSf https://setup.atuin.sh | sh

Fonts

sudo pacman -S \
adobe-source-code-pro-fonts adobe-source-sans-fonts adobe-source-serif-fonts \
cantarell-fonts \
noto-fonts noto-fonts-cjk noto-fonts-emoji \
ttf-cascadia-code ttf-cascadia-code-nerd \
ttf-dejavu \
$(pacman -Ssq ttf-fira) \
ttf-font-awesome \
ttf-hack \
ttf-iosevka-nerd \
ttf-jetbrains-mono ttf-jetbrains-mono-nerd \
ttf-liberation \
ttf-nerd-fonts-symbols-mono \
ttf-opensans \
ttf-roboto \
ttf-victor-mono-nerd
yay -S ttf-twemoji-color ttf-maple
yay -S $(yay -Ssq operator-mono)

Update font cache

When you have installed new fonts, you need to update your font cache, so that the new fonts will be used by the system.

fc-cache -fv

GTK Theme

cd ~/Downloads
git clone https://github.com/Fausto-Korpsvart/Tokyonight-GTK-Theme.git
cd Tokyo-Night-GTK-Theme/

# For GTK 3
cp -r themes/Tokyonight-Dark-BL-LB ~/.themes

# For GTK 4
cp -r themes/Tokyonight-Dark-BL-LB ~/.config/gtk-4.0

Icons

cd ~/Downloads
git clone https://github.com/Fausto-Korpsvart/Tokyonight-GTK-Theme.git
cd Tokyo-Night-GTK-Theme/
sudo cp -r icons/Tokyonight-Moon /usr/share/icons/

Mouse

cd ~/Downloads
git clone https://github.com/EliverLara/Sweet.git -b nova
cd Sweet/
sudo cp -r kde/cursors/Sweet-cursors /usr/share/icons/

Thanks to PROxZIMA for the awesome works!

yay -S boo-grub-git sddm-git boo-sddm-git proxzima-plymouth-git

Grub

See PROxZIMA repo for more details.

  1. Edit grub config file
sudo vim /etc/default/grub

change #GRUB_THEME= to GRUB_THEME="/usr/share/grub/themes/boo/theme.txt"

  1. Update grub using
sudo grub-mkconfig -o /boot/grub/grub.cfg
  1. Reboot and voila

Plymouth

See PROxZIMA repo for more details.

# check if theme exist in dir
sudo plymouth-set-default-theme -l

# optionally you can test the theme by running the script given in repo (plymouth-x11 required)
sudo ./preview.sh 13

# now set the theme (proxzima, in this case) and rebuilt the initrd
sudo plymouth-set-default-theme -R proxzima

If you want to use the shutdown animation as boot screen then do the following changes in the proxzima.script file.

- boot = 196;
+ boot = 97;

-   flyingman_image[i] = Image("boot-" + i + ".png");
+   flyingman_image[i] = Image("shut-" + i + ".png");

SDDM

See PROxZIMA repo for more details.

  1. Edit sddm config file
sudo vim /etc/sddm.conf

Make the following changes

[Theme]
Current=boo
  1. Reboot and voila