Skip to content

Instantly share code, notes, and snippets.

View git58's full-sized avatar
👾

Igor Borisov git58

👾
View GitHub Profile
@git58
git58 / switch_to_analog_audio.sh
Created February 2, 2026 08:46
Switch to analog audio if no sound in system
#!/bin/bash
###############################################################################
# MiniJack Hardware-Level Audio Watchdog with Recovery Attempts
# -------------------------------------------------------------
# This script monitors the ALSA hardware output (minijack) and attempts to
# restore audio up to 3 times if silence is detected while applications are
# playing sound. If all 3 recovery attempts fail, a KDE Plasma notification
# is shown to the user.
###############################################################################
@git58
git58 / start_viper_fixed.sh
Last active February 2, 2026 12:46
Fix viper4android on Manjaro KDE Plasma 6 (PipeWire)
#!/bin/bash
###############################################################################
# Viper4Linux Auto-Routing Supervisor Script
# ------------------------------------------
# This script performs three major tasks:
# 1. Creates and initializes the Viper4Linux audio processing pipeline.
# 2. Periodically monitors PipeWire routing and configuration changes.
# 3. Automatically restores correct audio links if PipeWire breaks them.
#