diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2022-10-12 23:16:46 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2022-10-12 23:16:46 +0530 |
commit | a0298de68dcf476e88f67a338a40f4c7606d17e8 (patch) | |
tree | af156eb8e99de00717e3fe729c055ebb4f048602 /.scripts/volumechanger | |
parent | 504a9d3a2c4ac31dba7586f3576423a98ed442be (diff) |
sxhkdrc - wpctl using scripts removing pactl
Diffstat (limited to '.scripts/volumechanger')
-rwxr-xr-x | .scripts/volumechanger | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.scripts/volumechanger b/.scripts/volumechanger new file mode 100755 index 0000000..2e97506 --- /dev/null +++ b/.scripts/volumechanger @@ -0,0 +1,7 @@ +#!/bin/sh + +if [ $1 = up ]; then + wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%+ ##increase by 2% +elif [ $1 = down ];then + wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%- ##decrease by 2% +fi |