From b7de185610d36aa373dadfb35ed131e648f6fde2 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 13 Apr 2014 21:39:49 +0200 Subject: remove oss related scripts Signed-off-by: Florian Pritz --- oss-mute-proc.sh | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100755 oss-mute-proc.sh (limited to 'oss-mute-proc.sh') diff --git a/oss-mute-proc.sh b/oss-mute-proc.sh deleted file mode 100755 index 3fbd347..0000000 --- a/oss-mute-proc.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash -#---------------------------------------------------- -# Version: 0.1.1 -# Author: Florian "Bluewind" Pritz -# -# Licensed under WTFPL v2 -# (see COPYING for full license text) -# -#---------------------------------------------------- -# script to (un)mute processes using oss -#---------------------------------------------------- -PROC="$1" -VOLFILE="/tmp/${USER}_volume_${PROC}" - -VOLUME=$(cat "$VOLFILE" 2> /dev/null) -if [ -z "$VOLUME" ]; then - VOLUME=$(ossmix | grep "\"$PROC\"" | awk '{print $4}' | awk -F : '{print $1}') - ossmix $PROC 0 - echo $VOLUME > "$VOLFILE" -else - ossmix $PROC $VOLUME - rm "$VOLFILE" -fi -- cgit v1.2.3-24-g4f1b