This commit is contained in:
Aekez 2018-03-11 23:16:57 +01:00
parent 59f633179e
commit a2e3552c14
4 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,6 @@
### Caution before use ###
We, as in any Qubes-Community users, collaborators, members and owners, expect that anyone using anything produced, uploaded, adviced or otherwise, that comes out of the Qubes Community, to be met with a healthy amount of skepticism. Please be careful about running any scripts, following wiki's, doc's or guide's, which you don't understand what do. We take no responsibility for any damage or losses. We do however wish to keep the reliability, as well as security and privacy, at the best quality possible, but we are not accountable for not meeting our goals.
This site is run by volunteers. The Qubes OS Project is not affiliated with this site and does not endorse the content of any of these pages.

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%