mirror of
https://github.com/kristoferssolo/solorice.git
synced 2026-02-04 06:32:03 +00:00
Update 2025-10-31
Update 2025-10-09 Update 2025-10-11 feat: add rose-pine gtk themes Update 2025-10-16 Update 2025-10-23 Fix desktop niri Update 2025-10-31
This commit is contained in:
8
local/bin/podman-cleanup
Normal file
8
local/bin/podman-cleanup
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if command -v podman >/dev/null; then
|
||||
export XDG_RUNTIME_DIR="${XDG_RUNTIME_DIR:-/run/user/$(id -u)}"
|
||||
podman --runtime-flag timeout=5s stop --all 2>/dev/null || true
|
||||
podman --runtime-flag timeout=5s rm --all --force 2>/dev/null || true
|
||||
rm -rf "${XDG_RUNTIME_DIR}/libpod" "${XDG_RUNTIME_DIR}/containers" 2>/dev/null || true
|
||||
fi
|
||||
Reference in New Issue
Block a user