dotfiles/home/default/scripts/system-free-space
2024-09-21 15:56:51 -04:00

9 lines
171 B
Bash
Executable File

#!/usr/bin/env sh
set -eoux pipefail
rm -rf ~/.cache
sudo rm -rf /var/cache/pacman/pkg/*
yay -Sc --noconfirm
sudo pacman -Sc --noconfirm
sudo journalctl --vacuum-size=1G