This config includes Hyprland, neovim and zsh.
git
must be installed- Your brain must be present in skull.
To get started you'll need few utilities and some basic things, We'll go in steps as;
- Adding Wayland & Xwayland
- Installing an AUR helper
- Installing hyprland and related dependencies
- Setting up audio, video, Brightness, wofi & Screenshot
- Installing and configuring app clients like Discord, Telegram
If you are running something like Gnome, Kde, Sway, Qtile e.t.c you can skip this step and move to next one
sudo pacman -Sy wayland libdrm pixman libxkbcommon python2 libxml2 \
llvm libpng gegl mtdev xorg-xwayland qt5-wayland qt6-wayland
These dependencies will setup the base required for proper functioning of hyprland or any other window manager based on wayland
Xwayland is requied to run some xorg specific dependencies without it you might feel lags or stutters while doing some task or some task might break
git clone https://aur.archlinux.org/paru-bin && cd paru-bin && makepkg -si
After Installing paru, check for any updates using Paru.
paru -S hyprland-bin hyprpaper waybar-hyprland-git xdg-desktop-portal-hyprland \
wlroots xdg-desktop-portal polkit-kde-agent wofi thunar thunar-volman gvfs-mtp gvfs mtpfs
paru -S light pavucontrol alsa-utils mako mpv brave-bin nm-applet
Following are the general packages that you need.
kitty neovim zsh zsh-completions zsh-syntax-highlighting zsh-autosuggestions \
starship ntfs-3g intel-ucode npm
Run the following piece of code in $HOME
directory.
git clone --bare https://github.com/MahtoSujeet/.dotfiles.git $HOME/.dotfiles
function dotfiles {
/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME $@
}
mkdir -p .dotfiles-backup
dotfiles checkout
if [ $? = 0 ]; then
echo "Checked out dotfiles.";
else
echo "Backing up pre-existing dot files.";
dotfiles checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | xargs -I{} mv {} .dotfiles-backup/{}
fi;
dotfiles checkout
dotfiles config status.showUntrackedFiles no
It takes the backup of current config files in .dotfiles-backup
folder and installs remote config.
- Install
bluez blueman bluez-utils pulseaudio-bluetooth
sudo systemctl enable bluetooth.service
sudo systemctl start bluetooth.service
- Dolphin - Install
ffmpegthumbs
package. - Thunar/Nautilus - Install
ffmpeg ffmpegthumbnailer gst-libav
In case insalling these alone doesn't work, remove ~/.thumbnails
,
then ln -s $HOME/.cache/thumbnails $HOME/.thumbnails
First, install the primary key - it can then be used to install Chaotic AUR's keyring and mirrorlist.
pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com
pacman-key --lsign-key 3056513887B78AEB
pacman -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst' 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst'
Append (adding to the end of the file) to /etc/pacman.conf
:
[chaotic-aur]
Include = /etc/pacman.d/chaotic-mirrorlist
- Get UUID of disk with
lsblk -f
- Add following to
/etc/fstab
UUID=<UUID> <mount-point> ntfs rw,uid=1000,gid=1000,umask=0022,fmast=0022 0 0
- Install
cloudflare-warp-bin
sudo systemctl enable --now warp-svc.service
sudo systemctl stop systemd-resolved
sudo systemctl disable systemd-resolved
warp-cli register
warp-cli set-license <enter your key>
- To set different modes
warp-cli set-mode <your-mode>
warp-cli connect
Here is the required commands to reset the keys.
mv /etc/pacman.d/gnupg /root/pacman-key.bak
pacman-key --init
pacman-key --populate archlinux
pacman -Syy archlinux-keyring
Make sure to update the system after this.
evince
- PDF Readermpv
- Video Player (VLC sucks in Linux)imv
- Image Viewer