drop XF86Audio{LowerVolume,Mute,RaiseVolume} scripts [Closes: issue626]
[grml-scripts.git] / usr_bin / XF86AudioLowerVolume
diff --git a/usr_bin/XF86AudioLowerVolume b/usr_bin/XF86AudioLowerVolume
deleted file mode 100755 (executable)
index 3ba0972..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-# Filename:      XF86AudioLowerVolume
-# Purpose:       lower audio volume
-# Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
-# 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 "Lowered audio volume to${VOLUME}" ; eend $?
-  osd_cat -b percentage -P $VOLUME -d 2 -c orange -A center -p middle
-else
-  einfo "Lowered audio volume to${VOLUME}" ; eend $?
-fi
-
-## END OF FILE #################################################################