This commit is contained in:
Aekez 2018-03-11 23:20:56 +01:00
parent 71edabcf1f
commit 8cc52ade6c
3 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,18 @@
#!/bin/sh
#Author:
#Aekez @ Github
#Disclaimer:
#Please use this script responsibly & at own risk.
#Please study the script, so that you know how it works.
#Tips:
#1) Change 0 if you are using a different sink sound output.
#2) Change toggle to 1 if you want to only enable the sound, not toggle.
#3) Change toggle to 0 if you want to only disable all sounds, not toggle.
#4) If pactl isn't installed, then you need to install
# pulseaudio-utils in dom0.
# 'sudo qubes-dom0-update pulseaudio-utils'
pactl set-sink-input-mute 0 toggle

View File

@ -0,0 +1,17 @@
#!/bin/sh
#Author:
#Aekez @ Github
#Disclaimer:
#Please use this script responsibly & at own risk.
#Please study the script, so that you know how it works.
#Tips:
#1) Change 0 to the sink output you are using.
#2) You can change the % value to a fixed value.
#3) If pactl isn't installed, then you need to install
# pulseaudio-utils in dom0.
# 'sudo qubes-dom0-update pulseaudio-utils'
pactl set-sink-volume 0 -20%

View File

@ -0,0 +1,17 @@
#!/bin/sh
#Author:
#Aekez @ Github
#Disclaimer:
#Please use this script responsibly & at own risk.
#Please study the script, so that you know how it works.
#Tips:
#1) Change 0 to the sink output you are using.
#2) You can change the % value to a fixed value.
#3) If pactl isn't installed, then you need to install
# pulseaudio-utils in dom0.
# 'sudo qubes-dom0-update pulseaudio-utils'
pactl set-sink-volume 0 +20%