This my personal rice for BSPWM and Hyprland.
βοΈ arch / bspwm / hyprland βοΈ
- Xorg
Distro | Archcraft |
---|---|
WM | BSPWM |
Bar | Polybar |
Menu | Rofi |
Compositor | Picom |
Terminal | Kitty |
Widgets | ElKowars wacky widgets |
Music/Player | mpd-ncmpcpp |
File Manager | Thunar |
Shell | Zsh |
Aur Helper | Yay |
- Wayland
Distro | Archcraft |
---|---|
WM | Hyprland |
Bar | Waybar |
Menu | Wofi |
Compositor | Picom |
Terminal | Kitty |
Widgets | ElKowars wacky widgets |
Music/Player | mpd-ncmpcpp |
File Manager | Nautilus |
Shell | Zsh |
Aur Helper | Yay |
|
---|
|
The installer only works for ARCH Linux, and based distros and nvidia based hardware only.
# Add the following lines to the /etc/resolv.conf
# This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8).
# Do not edit.
#
# This file might be symlinked as /etc/resolv.conf. If you're looking at
# /etc/resolv.conf and seeing this text, you have followed the symlink.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "resolvectl status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs should typically not access this file directly, but only
# through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a
# different way, replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.
nameserver 127.0.0.53
nameserver 1.1.1.1
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 1.0.0.1
options edns0 trust-ad
search .
- Automating the addition of dns to resolv.conf
# Create a resolv.conf.override and write the above lines in it
sudo vim /etc/resolv.conf.override
# Create override.sh and write following lines after vim command
sudo vim /etc/NetworkManager/dispatcher.d/override.sh
cp -f /etc/resolv.conf.override /etc/resolv.conf
# Give rights and ownership
sudo chown root:root /etc/NetworkManager/dispatcher.d/override.sh
sudo chmod 755 /etc/NetworkManager/dispatcher.d/override.sh
sudo systemctl enable NetworkManager-dispatcher.service
sudo systemctl start NetworkManager-dispatcher.service
- Initialize and Update pacman keys
sudo pacman-key --init && sudo pacman-key --populate
- Update the system
yes | sudo pacman -Syu && reboot
- Additional Packages
yay -S lxappearance google-chrome brave-bin nerd-fonts-sf-mono scrcpy appmenu-gtk-module spotify visual-studio-code-bin notion-app-enhanced kdeconnect telegram-desktop-bin neovim capitaine-cursors layan-gtk-theme-git whitesur-icon-theme python-pip rofi sf-fonts flameshot nautilus nvm
source .zshrc
nvm install node
- Miscellaneous
python -m ensurepip
pip install meson
- Installing rofi by adi1090x
cd
git clone --depth=1 https://github.com/adi1090x/rofi.git
cd rofi
chmod +x setup.sh
./setup.sh
cd ..
rm -rf rofi/
- Install starship
curl -sS https://starship.rs/install.sh | sh
- Downloading the installer
cd
curl https://raw.githubusercontent.com/gh0stzk/dotfiles/master/RiceInstaller -o $HOME/RiceInstaller
- Giving it execute permissions
chmod +x RiceInstaller
- Running the installer
./RiceInstaller
- Installing required packages
yay -S make wlroots wayland-protocols pkgconf ninja patch catch2 waybar-hyprland-git brightnessctl pulseaudio-ctl grim slurp hyprland-git alsa-utils wofi kitty alacritty nemo ranger mako neofetch nitch btop viewnior swaybg swayidle swaylock-effects waylogout-git swww zoxide cliphist wtype wl-clipboard xdg-desktop-portal-wlr polkit-gnome mtpfs jmtpfs gvfs-mtp gvfs-gphoto2 powertop tlp qt5-wayland qt6-wayland imagemagick ani-cli manga-cli-git python-pyquery python-neovim stylua-bin wget lazygit fd clang github-desktop-bin discord betterdiscord tofi ttf-cascadia-code-nerd swaylock-effects-git mpv protonvpn-cli visual-studio-code-bin
- Theming
gsettings set org.gnome.desktop.interface gtk-theme Layan-Dark
gsettings set org.gnome.desktop.interface icon-theme WhiteSur-dark
gsettings set org.gnome.desktop.interface cursor-theme capitaine-cursors-light
yay -S wtype wl-clipboard ttf-twemoji-color noto-fonts-emoji
mkdir ~/git-clones
mkdir ~/git-clones/local
mkdir ~/git-clones/local/cybergaz
cd ~/git-clones/local/cybergaz
git clone https://github.com/cybergaz/scripts.git
cd scripts/wofi-emoji
sudo cp wofi-emoji /usr/bin/
ssh-keygen -t rsa -b 4096 -C "[email protected]"
git config --global user.email "[email protected]"
git config --global user.name "Yash"
eval "$(ssh-agent -s)"
ssh-add .ssh/id_rsa
cat ~/.ssh/id_rsa.pub
- Cloning the repository
cd ~/git-clones/local/
mkdir yashtalele
cd yashtalele
git clone --recursive https://github.com/yashrtalele/dotfiles
-
Manually copy the files to the .config folder
-
Configuring the sddm
sudo cp -r ~/git-clones/local/yashtalele/dotfiles/sugar-candy /usr/share/sddm/themes
# Add the following lines to /etc/sddm.conf under [Theme] section
[Theme]
Current=sugar-candy
CursorTheme=capitaine-cursors-light
- Create a folder under Pictures for screenshot to be saved
mkdir /home/yash/Pictures/Screenshots
- Copy the Madness Font to root folder
cd ~/git-clones/local/yashtalele/dotfiles/
sudo cp Madness.ttf /usr/share/fonts
- Reboot
reboot
- Login to other WM - bspwm or hyprland then perform the following actions
sudo pacman -Rs archcraft-openbox openbox obconf obmenu-generator
# Remove the config files of openbox
rm -rf ~/.config/obmenu-generator
rm -rf ~/.config/openbox
rm -rf ~/.config/openbox-themes
- Remove pwfeedback
sudo -e /etc/sudoers.d/01-pwfeedback
- TMUX Config
tmux source .config/tmux/tmux.conf
# <Prefix>+I -- to install all the plugins in tmux
- Reboot
reboot
- Original bspwm rice by gh0stzk - https://github.com/gh0stzk/dotfiles.git