Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions system_files/shared/usr/share/ublue-os/just/default.just
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,27 @@ bios-info:
echo "Release Date: $(dmidecode -s bios-release-date)"
EOF

clean-system:
#!/usr/bin/bash
if gum confirm "Prune all Podman images and volumes?"; then
podman image prune -af
podman volume prune -f
fi

if command -v docker >/dev/null 2>&1; then
if gum confirm "Prune all Docker images and volumes?"; then
docker image prune -af
docker volume prune -f
fi
fi

flatpak uninstall --unused
rpm-ostree cleanup -bm
if [ -x /home/linuxbrew/.linuxbrew/bin/brew ]; then
brew autoremove
brew cleanup
fi

# Show all messages from this boot
logs-this-boot:
sudo journalctl --no-hostname -b 0
Expand Down