mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-14 04:07:18 +00:00
Don't needlessly reinstall pkgs in install scripts
This commit is contained in:
parent
5f3d1fde5d
commit
9e242c5f47
|
@ -47,47 +47,47 @@ cp -ra home/.config/swaylock ~/.config
|
||||||
cp -ra home/.config/wofi ~/.config
|
cp -ra home/.config/wofi ~/.config
|
||||||
|
|
||||||
# Instal fonts
|
# Instal fonts
|
||||||
yay -S --noconfirm \
|
yay -S --noconfirm --needed \
|
||||||
libxft ttf-hack ttf-joypixels noto-fonts noto-fonts-cjk noto-fonts-emoji ttf-font-awesome \
|
libxft ttf-hack ttf-joypixels noto-fonts noto-fonts-cjk noto-fonts-emoji ttf-font-awesome \
|
||||||
ttf-jetbrains mono-xorg-font-util ttf-ms-fonts otf-jost ttf-material-design-icons-git \
|
ttf-jetbrains mono-xorg-font-util ttf-ms-fonts otf-jost ttf-material-design-icons-git \
|
||||||
nerd-fonts-git
|
nerd-fonts-git
|
||||||
|
|
||||||
# Audio
|
# Audio
|
||||||
yay -S --noconfirm \
|
yay -S --noconfirm --needed \
|
||||||
pipewire pipewire-pulse pipewire-pulse pipewire-jack wireplumber alsa-utils pulsemixer
|
pipewire pipewire-pulse pipewire-pulse pipewire-jack wireplumber alsa-utils pulsemixer
|
||||||
|
|
||||||
# Themes
|
# Themes
|
||||||
yay -S --noconfirm \
|
yay -S --noconfirm --needed \
|
||||||
gnome-themes-extra gnome-icon-theme-extras python-qt-material notify-osd papirus-icon-theme \
|
gnome-themes-extra gnome-icon-theme-extras python-qt-material notify-osd papirus-icon-theme \
|
||||||
lxappearance adwaita-qt5 adwaita-qt6 qt5ct
|
lxappearance adwaita-qt5 adwaita-qt6 qt5ct
|
||||||
|
|
||||||
# WM Essentials
|
# WM Essentials
|
||||||
yay -S --noconfirm \
|
yay -S --noconfirm --needed \
|
||||||
dunst udisks2 udiskie gvfs gnome-keyring xorg-xinput polkit-gnome
|
dunst udisks2 udiskie gvfs gnome-keyring xorg-xinput polkit-gnome
|
||||||
|
|
||||||
# Wayland WM essentials
|
# Wayland WM essentials
|
||||||
yay -S --noconfirm \
|
yay -S --noconfirm --needed \
|
||||||
wl-clipboard xdg-desktop-portal qt5-qayland qt6-wayland wev wl-gammarelay-rs wdisplays
|
wl-clipboard xdg-desktop-portal qt5-qayland qt6-wayland wev wl-gammarelay-rs wdisplays
|
||||||
|
|
||||||
# Utilities
|
# Utilities
|
||||||
yay -S --noconfirm \
|
yay -S --noconfirm --needed \
|
||||||
nm-connection-editor ffmpegthumbnailer upower devour dooit-git
|
nm-connection-editor ffmpegthumbnailer upower devour dooit-git
|
||||||
|
|
||||||
# Wayland Utilities
|
# Wayland Utilities
|
||||||
yay -S --noconfirm \
|
yay -S --noconfirm --needed \
|
||||||
grim slurp wofi swappy-git swayidle swaybg wf-recorder wlogout hyprpicker-git clipman
|
grim slurp wofi swappy-git swayidle swaybg wf-recorder wlogout hyprpicker-git clipman
|
||||||
|
|
||||||
# Applications
|
# Applications
|
||||||
yay -S --noconfirm \
|
yay -S --noconfirm --needed \
|
||||||
discord firefox chromium kitty mpv pcmanfm-qt file-roller obs-studio qbittorrent \
|
discord firefox chromium kitty mpv pcmanfm-qt file-roller obs-studio qbittorrent \
|
||||||
qalculate-gtk-nognome spotify stremio nomacs
|
qalculate-gtk-nognome spotify stremio nomacs
|
||||||
|
|
||||||
# Bluetooth
|
# Bluetooth
|
||||||
yay -S --noconfirm \
|
yay -S --noconfirm --needed \
|
||||||
yay -S bluez bluiz-utils blueberry
|
yay -S bluez bluiz-utils blueberry
|
||||||
|
|
||||||
# Build hyprland
|
# Build hyprland
|
||||||
yay -S --noconfirm \
|
yay -S --noconfirm --needed \
|
||||||
gdb ninja gcc cmake meson libxcb xcb-proto xcb-util xcb-util-keysyms libxfixes libx11 libxcomposite \
|
gdb ninja gcc cmake meson libxcb xcb-proto xcb-util xcb-util-keysyms libxfixes libx11 libxcomposite \
|
||||||
xorg-xinput libxrender pixman wayland-protocols cairo pango seatd libxkbcommon xcb-util-wm xorg-xwayland \
|
xorg-xinput libxrender pixman wayland-protocols cairo pango seatd libxkbcommon xcb-util-wm xorg-xwayland \
|
||||||
libinput libliftoff libdisplay-info cpio
|
libinput libliftoff libdisplay-info cpio
|
||||||
|
@ -96,10 +96,11 @@ git clone --recursive https://github.com/hyprwm/Hyprland ~/.local/src/Hyprland
|
||||||
pushd ~/.local/src
|
pushd ~/.local/src
|
||||||
sudo make install
|
sudo make install
|
||||||
popd
|
popd
|
||||||
sudo yay -S --noconfirm xdg-desktop-portal-hyprland-git hyprpaper
|
sudo yay -S --noconfirm --needed xdg-desktop-portal-hyprland-git hyprpaper
|
||||||
|
|
||||||
# Build eww
|
# Build eww
|
||||||
sudo pacman -S --noconfirm gtk3 gtk-layer-shell rustup openbsd-netcat pango gdk-pixbuf2 cairo glib2 gcc-libs glibc libdbusmenu-gtk3
|
sudo pacman -S --noconfirm --needed \
|
||||||
|
gtk3 gtk-layer-shell rustup openbsd-netcat pango gdk-pixbuf2 cairo glib2 gcc-libs glibc libdbusmenu-gtk3
|
||||||
sudo rustup default stable
|
sudo rustup default stable
|
||||||
# Use a fork instead of the original elkowar/eww, for system tray suppot
|
# Use a fork instead of the original elkowar/eww, for system tray suppot
|
||||||
sudo mkdir -p /usr/local/src
|
sudo mkdir -p /usr/local/src
|
||||||
|
@ -111,7 +112,7 @@ sudo ln -s /usr/local/src/eww/target/release/eww /usr/local/bin
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# Lockscreen
|
# Lockscreen
|
||||||
yay -S --noconfirm swaylock-effects-git systemd-lock-handler
|
yay -S --noconfirm --needed swaylock-effects-git systemd-lock-handler
|
||||||
systemctl --user enable systemd-lock-handler.service
|
systemctl --user enable systemd-lock-handler.service
|
||||||
# You'll need the systemd-lock-handler-swaylock.service from my dotfiles (in home/.config/systemd/user)
|
# You'll need the systemd-lock-handler-swaylock.service from my dotfiles (in home/.config/systemd/user)
|
||||||
# this is copied above by default, but if you're editing the script, be aware of it
|
# this is copied above by default, but if you're editing the script, be aware of it
|
||||||
|
|
|
@ -18,10 +18,11 @@ fi
|
||||||
pushd "$(dirname "$0")"
|
pushd "$(dirname "$0")"
|
||||||
|
|
||||||
# Install essential packages
|
# Install essential packages
|
||||||
pacman -Syu --noconfirm networkmanager neovim sudo reflector pacman-contrib man-db man-pages rsync btop bind tldr base-devel git pkgfile
|
pacman -Syu --noconfirm --needed \
|
||||||
|
networkmanager neovim sudo reflector pacman-contrib man-db man-pages rsync btop bind tldr base-devel git pkgfile
|
||||||
|
|
||||||
# Install packages necessary for this script / other scripts in this dotfiles repo
|
# Install packages necessary for this script / other scripts in this dotfiles repo
|
||||||
pacman -Syu --noconfirm python-rich bc lua jq bat
|
pacman -Syu --noconfirm --needed python-rich bc lua jq bat
|
||||||
|
|
||||||
# Copy over system configuration data
|
# Copy over system configuration data
|
||||||
cp root/etc/pacman.conf /etc
|
cp root/etc/pacman.conf /etc
|
||||||
|
@ -48,7 +49,7 @@ git clone https://github.com/jandamm/zgenom ~/.config/zsh/.zgenom
|
||||||
install -m 700 -d ~/.local/share/gnupg
|
install -m 700 -d ~/.local/share/gnupg
|
||||||
|
|
||||||
# Install zsh and make it the default shell for root
|
# Install zsh and make it the default shell for root
|
||||||
sudo pacman -S --noconfirm zsh
|
sudo pacman -S --noconfirm --needed zsh
|
||||||
chsh -s /usr/bin/zsh root
|
chsh -s /usr/bin/zsh root
|
||||||
|
|
||||||
# Enable some basic services
|
# Enable some basic services
|
||||||
|
|
|
@ -31,7 +31,8 @@ popd
|
||||||
rm -rf ~/yay
|
rm -rf ~/yay
|
||||||
|
|
||||||
# Install some useful packages
|
# Install some useful packages
|
||||||
yay -S --noconfirm openssh cronie exa bat dust mlocate lshw trash-cli ncdu btop \
|
yay -S --noconfirm --needed \
|
||||||
|
openssh cronie exa bat dust mlocate lshw trash-cli ncdu btop \
|
||||||
dnsutils net-tools wget jq fzf polkit rebuild-detector hyperfine mediainfo git-delta \
|
dnsutils net-tools wget jq fzf polkit rebuild-detector hyperfine mediainfo git-delta \
|
||||||
python-pip ripgrep zip unzip usbutils hexyl strace python-poetry pyenv yt-dlp \
|
python-pip ripgrep zip unzip usbutils hexyl strace python-poetry pyenv yt-dlp \
|
||||||
downgrade lf
|
downgrade lf
|
||||||
|
|
Loading…
Reference in a new issue