bdh-linux 4.1.0__tar.gz → 4.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {bdh_linux-4.1.0 → bdh_linux-4.2.1}/PKG-INFO +1 -1
- {bdh_linux-4.1.0 → bdh_linux-4.2.1}/bdh_linux/commands/remove.py +9 -1
- {bdh_linux-4.1.0 → bdh_linux-4.2.1}/bdh_linux.egg-info/PKG-INFO +1 -1
- {bdh_linux-4.1.0 → bdh_linux-4.2.1}/pyproject.toml +1 -1
- {bdh_linux-4.1.0 → bdh_linux-4.2.1}/bdh_linux/__init__.py +0 -0
- {bdh_linux-4.1.0 → bdh_linux-4.2.1}/bdh_linux/commands/install.py +0 -0
- {bdh_linux-4.1.0 → bdh_linux-4.2.1}/bdh_linux/commands/setup.py +0 -0
- {bdh_linux-4.1.0 → bdh_linux-4.2.1}/bdh_linux/main.py +0 -0
- {bdh_linux-4.1.0 → bdh_linux-4.2.1}/bdh_linux.egg-info/SOURCES.txt +0 -0
- {bdh_linux-4.1.0 → bdh_linux-4.2.1}/bdh_linux.egg-info/dependency_links.txt +0 -0
- {bdh_linux-4.1.0 → bdh_linux-4.2.1}/bdh_linux.egg-info/entry_points.txt +0 -0
- {bdh_linux-4.1.0 → bdh_linux-4.2.1}/bdh_linux.egg-info/requires.txt +0 -0
- {bdh_linux-4.1.0 → bdh_linux-4.2.1}/bdh_linux.egg-info/top_level.txt +0 -0
- {bdh_linux-4.1.0 → bdh_linux-4.2.1}/setup.cfg +0 -0
- {bdh_linux-4.1.0 → bdh_linux-4.2.1}/setup.py +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import typer
|
|
2
2
|
import subprocess
|
|
3
3
|
from rich import print
|
|
4
|
+
import os
|
|
4
5
|
|
|
5
6
|
app = typer.Typer(help="Remove bloatware from system")
|
|
6
7
|
|
|
@@ -45,4 +46,11 @@ def media():
|
|
|
45
46
|
"""Remove media apps"""
|
|
46
47
|
print("[yellow]🗑️ Removing media apps...[/yellow]")
|
|
47
48
|
run("sudo pacman -Rns --noconfirm vlc rhythmbox shotwell transmission-gtk thunderbird 2>/dev/null")
|
|
48
|
-
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
@app.command()
|
|
52
|
+
def cleanup():
|
|
53
|
+
""" remove cache and orphaned packages...")
|
|
54
|
+
os.system("sudo pacman -Rns $(pacman -Qtdq) --noconfirm || true")
|
|
55
|
+
os.system("sudo pacman -Sc --nocofirm")
|
|
56
|
+
print("✅ System Cleaned successfully!")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|