2.2 KiB
2.2 KiB
initial commands (will be done by ansible)
Make new user
pacman -S sudo
useradd -mU yf
echo "yf ALL=(ALL:ALL) ALL" >> /etc/sudoers
passwd yf
su yf
Install yay
sudo pacman -S git fakeroot make gcc
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
cd ..
rm -rf yay
Setup getty autologin
mkdir /etc/systemd/system/getty@tty1.service.d
cat <<- "EOF" > /etc/systemd/system/getty@tty1.service.d/skip-username.conf
[Service]
ExecStart=
ExecStart=-/sbin/agetty -o '-p -- yf' --noclear --skip-login - $TERM
Environment=XDG_SESSION_TYPE=wayland
EOF
Remove password
sudo sed -i 's/yf:[^:]*/yf:/' /etc/shadow
Install stow
yay -S stow
Install dotfiles
git clone --recurse-submodules https://github.com/yourfriendoss/dots .shell
cd .shell
stow src
Automatically log into Hyprland
cat <<- "EOF" > /home/yf/.bash_profile
if [[ "$(tty)" == "/dev/tty1" ]]
then
Hyprland
fi
EOF
apps
Deps: pkgconfig patch flex bison which
- Audio -
pipewire wireplumber pipewire-pulse pipewire-alsa pipewire-jack qpwgraph
- Wayland compositor -
hyprland xdg-desktop-portal-hyprland polkit-kde-agent
- Status bar -
waybar-hyprland-git
- Terminal -
alacritty
- Screenshotting -
wl-clipboard slurp grim
- Application picker -
rofi-lbonn-wayland
- Notifications -
mako
- Background -
swww
- File manager -
thunar gvfs gvfs-smb
- Dropbox -
dropbox thunar-dropbox dropbox-cli
rm -rf ~/.dropbox-dist
install -dm0 ~/.dropbox-dist
- Music -
spotify spicetify-cli
curl -fsSL https://raw.githubusercontent.com/spicetify/spicetify-marketplace/main/resources/install.sh | sh
spicetify backup apply
- Fonts -
ttf-jebrains-mono-nerd
- Discord -
discord
sudo chown -R $USER:$USER /opt/discord
sh -c "$(curl -sS https://raw.githubusercontent.com/Vendicated/VencordInstaller/main/install.sh)"
Install vencord, and then install openasar!
14. Browser - vivaldi
(credit: Archwiki)
Go to chrome://flags page, then search wayland. You will see the Preferred Ozone platform setting. Set it to auto. The default one is "X11". "Auto" selects Wayland if possible, X11 otherwise.
- Documents -
wps-office ttf-wps-fonts
- Code editor -
visual-studio-code-bin
- Extras -
pipes.sh neofetch