bdh-linux 4.2.10__tar.gz → 5__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.2.10 → bdh_linux-5}/PKG-INFO +1 -1
- {bdh_linux-4.2.10 → bdh_linux-5}/bdh_linux/commands/install.py +2 -2
- {bdh_linux-4.2.10 → bdh_linux-5}/bdh_linux/commands/setup.py +22 -2
- {bdh_linux-4.2.10 → bdh_linux-5}/bdh_linux.egg-info/PKG-INFO +1 -1
- {bdh_linux-4.2.10 → bdh_linux-5}/pyproject.toml +1 -1
- {bdh_linux-4.2.10 → bdh_linux-5}/bdh_linux/__init__.py +0 -0
- {bdh_linux-4.2.10 → bdh_linux-5}/bdh_linux/commands/remove.py +0 -0
- {bdh_linux-4.2.10 → bdh_linux-5}/bdh_linux/main.py +0 -0
- {bdh_linux-4.2.10 → bdh_linux-5}/bdh_linux.egg-info/SOURCES.txt +0 -0
- {bdh_linux-4.2.10 → bdh_linux-5}/bdh_linux.egg-info/dependency_links.txt +0 -0
- {bdh_linux-4.2.10 → bdh_linux-5}/bdh_linux.egg-info/entry_points.txt +0 -0
- {bdh_linux-4.2.10 → bdh_linux-5}/bdh_linux.egg-info/requires.txt +0 -0
- {bdh_linux-4.2.10 → bdh_linux-5}/bdh_linux.egg-info/top_level.txt +0 -0
- {bdh_linux-4.2.10 → bdh_linux-5}/setup.cfg +0 -0
- {bdh_linux-4.2.10 → bdh_linux-5}/setup.py +0 -0
|
@@ -15,7 +15,7 @@ def all():
|
|
|
15
15
|
|
|
16
16
|
# Packages
|
|
17
17
|
print("[yellow]📦 Installing packages...[/yellow]")
|
|
18
|
-
run("sudo pacman -S --noconfirm python python-pip git docker zsh neovim curl wget htop tree tmux")
|
|
18
|
+
run("sudo pacman -S --noconfirm python python-pip git docker ranger zsh neovim curl wget htop tree tmux")
|
|
19
19
|
|
|
20
20
|
# Python packages
|
|
21
21
|
print("[yellow]🐍 Installing Python packages...[/yellow]")
|
|
@@ -47,4 +47,4 @@ def minimal():
|
|
|
47
47
|
run("pip install fastapi uvicorn bdh-fastapi-new --break-system-packages")
|
|
48
48
|
|
|
49
49
|
print("")
|
|
50
|
-
print("[green]✅ Minimal install done![/green]")
|
|
50
|
+
print("[green]✅ Minimal install done![/green]")
|
|
@@ -228,9 +228,9 @@ def git():
|
|
|
228
228
|
print("[cyan]⚡ Setting up Git...[/cyan]")
|
|
229
229
|
print("=" * 30)
|
|
230
230
|
name = typer.prompt("Your name")
|
|
231
|
-
|
|
231
|
+
Token = typer.prompt("Your email")
|
|
232
232
|
run(f'git config --global user.name "{name}"')
|
|
233
|
-
run(f'git config --global user.email "{
|
|
233
|
+
run(f'git config --global user.email "{Token}"')
|
|
234
234
|
run("git config --global init.defaultBranch main")
|
|
235
235
|
print("")
|
|
236
236
|
print("[green]✅ Git setup done![/green]")
|
|
@@ -246,4 +246,24 @@ def docker():
|
|
|
246
246
|
run("sudo usermod -aG docker $USER")
|
|
247
247
|
print("")
|
|
248
248
|
print("[green]✅ Docker setup done![/green]")
|
|
249
|
+
@app.command()
|
|
250
|
+
def keyboard_backlight():
|
|
251
|
+
your_labtop =str(input("dell,asus,acer,msi,lenovo,hp"))
|
|
252
|
+
level = int(input("brightness leval(0-3):"))
|
|
253
|
+
if 0 <= level <=3 :
|
|
254
|
+
run(f"echo {level} | sudo tee /sys/class/leds/{ your_labtop}::kbd_backlight/brightness")
|
|
255
|
+
else:
|
|
256
|
+
print ("invalid input ")
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
249
269
|
|
|
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
|