diff --git a/scripts/qubes-sound-control-scripts/README.md b/scripts/qubes-sound-control-scripts/README.md new file mode 100644 index 0000000..8071e18 --- /dev/null +++ b/scripts/qubes-sound-control-scripts/README.md @@ -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. + diff --git a/scripts/qubes-sound-control-scripts/toggle-sound-mute.sh b/scripts/qubes-sound-control-scripts/toggle-sound-mute.sh new file mode 100644 index 0000000..1bc0d05 --- /dev/null +++ b/scripts/qubes-sound-control-scripts/toggle-sound-mute.sh @@ -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 diff --git a/scripts/qubes-sound-control-scripts/volume-control-down.sh b/scripts/qubes-sound-control-scripts/volume-control-down.sh new file mode 100644 index 0000000..c4381ee --- /dev/null +++ b/scripts/qubes-sound-control-scripts/volume-control-down.sh @@ -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% diff --git a/scripts/qubes-sound-control-scripts/volume-control-up.sh b/scripts/qubes-sound-control-scripts/volume-control-up.sh new file mode 100644 index 0000000..ba8457b --- /dev/null +++ b/scripts/qubes-sound-control-scripts/volume-control-up.sh @@ -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%