mute source audio

This commit is contained in:
Zacharias-Brohn
2026-02-09 22:23:53 +01:00
parent 5c64cc0bb9
commit 144d763c67
11 changed files with 414 additions and 110 deletions
+27 -2
View File
@@ -1,3 +1,28 @@
#!/bin/zsh
#!/usr/bin/env bash
exec yay -Sy
OS="arch"
if [[ $(ls ./tmp) ]]; then
exec mkdir ./tmp
fi
cd ./tmp
main() {
local OPTARG OPTIND opt
while getopts "arch:nix:" opt; do
case "$opt" in
arch) OS=$OPTARG ;;
nix) OS=$OPTARG ;;
*) fatal 'bad option' ;;
esac
done
if [[ $OS = "arch" ]]; then
exec yay -Sy
elif [[ $OS = "nix" ]]; then
exec nixos-rebuild build --flake $HOME/Gits/NixOS/#nixos
PKGS=$(exec nix store diff-closures /run/current-system ./result)
fi
}
main "$@"