summaryrefslogtreecommitdiff
path: root/scripts/Scripts/volume
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2021-02-25 13:56:54 +0100
committerJulian T <julian@jtle.dk>2021-02-25 13:56:54 +0100
commite5db995945c867e7933c331524641c6a873a6cd7 (patch)
treefe56c29601c6869865335f15493d2f58c80eacaf /scripts/Scripts/volume
parent99ec3749b0683999b5dc2dce783d177dec7823ce (diff)
Changes to i3 and scripts around it
Diffstat (limited to 'scripts/Scripts/volume')
-rwxr-xr-xscripts/Scripts/volume5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/Scripts/volume b/scripts/Scripts/volume
index 1a54728..105be1e 100755
--- a/scripts/Scripts/volume
+++ b/scripts/Scripts/volume
@@ -1,11 +1,14 @@
#!/usr/bin/env bash
case $1 in
+ micmutetoggle)
+ pacmd set-source-mute @DEFAULT_SOURCE@ toggle
+ ;;
softmute)
pacmd set-source-volume @DEFAULT_SOURCE@ 0
;;
softunmute)
- pacmd set-source-volume @DEFAULT_SOURCE@ 28000
+ pacmd set-source-volume @DEFAULT_SOURCE@ 38000
;;
volumedown)
pactl set-sink-volume @DEFAULT_SINK@ -5%