Personal setup scripts to get a freshly installed machine back to my preferred display and audio configuration in one command each. Built for Arch-based systems (pacman / paru / yay) running PipeWire.
Each command downloads a prebuilt helper, walks you through a short interactive setup, and installs a small background service. No toolchain required.
Note
Works on GNOME (via gdctl) and KDE Plasma (via kscreen-doctor) —
auto-detected at setup, or force it with BACKEND=gnome/BACKEND=kde. On KDE
it also works around the TV HDMI detect-loop (TV off but cable plugged) by
toggling the connector's DRM status, installing a small root helper + sudoers
rule for that. Optionally syncs with
Sunshine for game streaming if it's
installed; works fine without it.
Lets you flip your display setup between layouts on demand — for example your desktop monitors versus the TV — instead of fiddling with display settings each time. The setup detects your monitors and builds the layouts; a small service then lets you switch (including remotely over the local network, which pairs nicely with game streaming).
bash <(curl -fsSL https://raw.githubusercontent.com/JiPaix/reinstall/main/screen.sh)Important
Install these yourself first (package names may vary by distribution):
pipewire, pipewire-pulse, wireplumber, ladspa, swh-plugins, ffmpeg.
Sets up the audio path for a soundbar: applies an equalizer, keeps a Bluetooth soundbar from dozing off mid-silence, and runs a small service that reports the soundbar's current state over the local network.
bash <(curl -fsSL https://raw.githubusercontent.com/JiPaix/reinstall/main/audio.sh)- Run them from a real terminal (the setup is interactive). The
bash <(curl …)form above keeps the prompts working — a plaincurl … | bashwould not. - Binaries are published automatically as a GitHub Release; the scripts pull the
latest one. To pin a version, set
RELEASE_TAG=vX.Y.Zbefore running.