diff --git a/TODO b/TODO index 377296e..22e7f2c 100644 --- a/TODO +++ b/TODO @@ -1,9 +1,7 @@ install steam, wine and lib32 multilib # -basename opti ## configure yazi # nvim bufferline colors # configure firefox hardening -configure trim (fstrim and luks) ## Hyprland wofi foot diff --git a/scripts/update.sh b/scripts/update.sh index c1aa6c1..0684766 100755 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -9,7 +9,7 @@ source ./scripts/functions ### Global variables _DIRNAME="$(pwd)" -_PACKAGES=(arc-gtk-theme chromium code curl discord dmenu dunst egl-wayland feh flameshot flatpak firefox htop hyprland i3lock i3-wm imagemagick kitty lxappearance mpv neofetch numlockx nwg-look otf-comicshanns-nerd papirus-icon-theme pavucontrol picom pipewire pipewire-jack pipewire-pulse rofi plocate polybar reflector remmina ttf-dejavu-nerd wget wireguard-tools xdg-desktop-portal xorg xorg-xinit) +_PACKAGES=(arc-gtk-theme chromium code curl discord dmenu dunst egl-wayland feh flameshot flatpak firefox fstrm htop hyprland i3lock i3-wm imagemagick kitty lxappearance mpv neofetch numlockx nwg-look otf-comicshanns-nerd papirus-icon-theme pavucontrol picom pipewire pipewire-jack pipewire-pulse rofi plocate polybar reflector remmina ttf-dejavu-nerd wget wireguard-tools xdg-desktop-portal xorg xorg-xinit) ### Configure pacman and install needeed packages _info "Configuring and updateing packages" @@ -40,6 +40,9 @@ done _info "Linking config files" _msg "modprobe links" ln -sf "${_DIRNAME}/links/modprobe/blacklist.conf" /etc/modprobe.d/blacklist.conf +_msg "fstrim links" +'/etc/systemd/system/timers.target.wants/fstrim.timer' → '/usr/lib/systemd/system/fstrim.timer'. +ln -sf "/usr/lib/systemd/system/fstrim.timer" "/etc/systemd/system/timers.target.wants/fstrim.timer" _msg "tty links" mkdir -p /etc/systemd/system/getty@tty1.service.d ln -sf "$_DIRNAME/links/tty/override.conf" /etc/systemd/system/getty@tty1.service.d/override.conf