1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-23 07:13:25 +00:00
dotfiles/.local/bin/clean
Phantop 05337cb26d Miscellaneous command/package/redirect fixes
Also adds the mpv-mpris library/script back
2021-03-03 14:41:09 -05:00

16 lines
467 B
Bash
Executable file

#!/bin/sh
sudo eopkg up -y
sudo eopkg dc -y
sudo eopkg rmo -y
sudo eopkg rdb -y
sudo eopkg clean -y
fc-cache -f
rm -r ~/.cache
fish -c "j --purge"
docker system prune -f
sudo solbuild delete-cache
sudo rm -rf /var/lib/solbuild/packages /var/lib/solbuild/sources
sudo journalctl --vacuum-size=1K
bleachbit -c `bleachbit -l|rg -v 'system.free_disk_space|transmission|system.memory|cookies'`
sudo bleachbit -c `bleachbit -l|rg -v 'system.free_disk_space|system.memory'`