#!/usr/bin/env bash

# Clears everything it can to save space

rm -rf $HOME/.cache
if which pacman &> /dev/null; then
    sudo pacman -Scc
elif which apt-get &> /deb/null; then
    sudo apt-get clean
fi
if which journalctl &> /dev/null; then
    sudo journalctl --vacuum-size=100M
fi