X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=usr_bin%2FXF86AudioRaiseVolume;fp=usr_bin%2FXF86AudioRaiseVolume;h=0000000000000000000000000000000000000000;hb=65eedce6095822e21447fd8a276799f1bbc0d021;hp=1eacab6519eb5b38b2b078fce21dfffa326f41e2;hpb=01e3fafa6cfa747d4fc8d21fc13df200e0ed137d;p=grml-scripts.git diff --git a/usr_bin/XF86AudioRaiseVolume b/usr_bin/XF86AudioRaiseVolume deleted file mode 100755 index 1eacab6..0000000 --- a/usr_bin/XF86AudioRaiseVolume +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -# Filename: XF86AudioRaiseVolume -# Purpose: raise audio volume -# Authors: grml-team (grml.org), (c) Michael Prokop -# Bug-Reports: see http://grml.org/bugs/ -# License: This file is licensed under the GPL v2. -################################################################################ - -. /etc/grml/lsb-functions - -aumix -v +5 ; RC=$? - -if ! [ "$RC" = 0 ] ; then - eend "Error running 'aumix -v +5'" ; eend 1 -fi - -VOLUME=$(aumix -q | awk -F, '/vol/ {print $2}') - -if [ -n "$DISPLAY" ] ; then - einfo "Raised audio volume to${VOLUME}" ; eend $? - osd_cat -b percentage -P $VOLUME -d 2 -c orange -A center -p middle -else - einfo "Raised audio volume to${VOLUME}" ; eend $RC -fi - -## END OF FILE #################################################################