summaryrefslogtreecommitdiff
path: root/scripts/sVolume
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2024-07-24 20:54:56 +0400
committerSuleyman Farajli <suleyman@farajli.net>2024-07-24 20:54:56 +0400
commit994ef6afb490f5119a43fc7ae6c6b78e1c0445e4 (patch)
tree1d0aca74ed003e69133f112690bf4aa76283e688 /scripts/sVolume
parenta26c65c3be30bfe90e63ea26503707c734973143 (diff)
useless scripts were removed
Diffstat (limited to 'scripts/sVolume')
-rwxr-xr-xscripts/sVolume11
1 files changed, 0 insertions, 11 deletions
diff --git a/scripts/sVolume b/scripts/sVolume
deleted file mode 100755
index 1a433d4..0000000
--- a/scripts/sVolume
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-# Wrapper script for volume control
-
-arg=$1
-[ $# = 0 ] && { echo ERROR: No argument ; exit 2; }
-[ $# -gt 1 ] && { echo Too much arguments ; exit 2 ; }
-
-[ $arg = '--toggle' ] && { pactl set-sink-mute @DEFAULT_SINK@ toggle ; exit 0 ;}
-
-pactl set-sink-volume @DEFAULT_SINK@ $1%