binary + installer
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import subprocess
|
||||
import typer
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
args = ["qs", "-c", "zshell"]
|
||||
|
||||
app = typer.Typer()
|
||||
|
||||
|
||||
@app.command()
|
||||
def set(wallpaper: Path):
|
||||
subprocess.run(args + ["ipc"] + ["call"] +
|
||||
["wallpaper"] + ["set"] + [wallpaper], check=True)
|
||||
Reference in New Issue
Block a user