Enable btrfs maintenance. Enable fstrim

This commit is contained in:
RealStickman 2021-04-27 12:26:50 +02:00
parent 7edfac967c
commit 18e49a5ca1

View File

@ -253,6 +253,16 @@ if [[ $(pacman -Q | grep vmware-workstation) ]]; then
sudo systemctl enable --now vmware-networks-server.service sudo systemctl enable --now vmware-networks-server.service
fi fi
# enable fstrim timer
sudo systemctl enable fstrim.timer
# enable btrfs maintenance timers
if [[ $(pacman -Q | grep btrfsmaintenance) ]]; then
sudo systemctl restart btrfsmaintenance-refresh.service
sudo systemctl enable btrfs-balance.timer
sudo systemctl enable btrfs-scrub.timer
fi
#unzip gimp plugins #unzip gimp plugins
echo Unzipping gimp plugins echo Unzipping gimp plugins
unzip -o ~/.config/GIMP/2.10/plug-ins/export_layers-3.3.1.zip -d ~/.config/GIMP/2.10/plug-ins/ > /dev/null unzip -o ~/.config/GIMP/2.10/plug-ins/export_layers-3.3.1.zip -d ~/.config/GIMP/2.10/plug-ins/ > /dev/null