summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/.xbindkeysrc17
-rwxr-xr-xdesktop/bin/aumute60
2 files changed, 0 insertions, 77 deletions
diff --git a/desktop/.xbindkeysrc b/desktop/.xbindkeysrc
deleted file mode 100644
index a6b50a3..0000000
--- a/desktop/.xbindkeysrc
+++ /dev/null
@@ -1,17 +0,0 @@
-"aumix -v +5"
- XF86AudioRaiseVolume
-
-"aumix -v -5"
- XF86AudioLowerVolume
-
-"aumute"
- XF86AudioMute
-
-"aumix -v +5"
- Mod4 + Prior
-
-"aumix -v -5"
- Mod4 + Next
-
-"aumute"
- Mod4 + Pause
diff --git a/desktop/bin/aumute b/desktop/bin/aumute
deleted file mode 100755
index 2829235..0000000
--- a/desktop/bin/aumute
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/bin/sh
-
-# Aumix mute toggle
-# Version: 1.1.0
-# Date: 2005/03/21
-#
-# Copyright: 2004 Jeremy Brand <jeremy@nirvani.net>
-# http://www.nirvani.net/software/
-# Licenced under the GNU Public License Version 2.
-#
-# Purpose:
-# To have a single script toggle between current sound levels
-# and mute with the aumix program while maintaining
-# and not deleting current mixer saved settings.
-#
-# Notes:
-# I bind this program to a single key in my window manager's
-# configuration file. It then serves the purpose of having a
-# audio mute key. If you have a fancy keyboard with a mute
-# key, try binding this program to that scancode.
-#
-# Usage:
-#
-# Toggle between mute and unmute based on last state:
-# aumix-toggle-mute.sh
-#
-# Force mute:
-# aumix-toggle-mute.sh --force-mute
-#
-# Force unmute:
-# aumix-toggle-mute.sh --force-unmute
-#
-
-MUTERC="$HOME/.aumixrc.mute"
-
-function __mute() {
- if [ ! -e "$MUTERC" ]; then
- aumix -f "$MUTERC" -S
- fi
- aumix -v 0; aumix -w 0
-}
-
-function __unmute () {
- if [ -e "$MUTERC" ]; then
- aumix -f "$MUTERC" -L > /dev/null
- rm -f "$MUTERC"
- else
- aumix -L > /dev/null
- fi
-}
-
-if [ "$1" = "--force-mute" ]; then
- __mute;
-elif [ "$1" = "--force-unmute" ]; then
- __unmute;
-elif [ -e "$MUTERC" ]; then
- __unmute;
-else
- __mute;
-fi