summaryrefslogtreecommitdiffstats
path: root/.scripts/lmc
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-10-07 08:23:20 -0400
committerGitHub <noreply@github.com>2018-10-07 08:23:20 -0400
commit91622af84c3e664111a40ce8e68905f3e8b86e7e (patch)
treec3dd43da8d6611003fa4c240fac1ddc5ae086f88 /.scripts/lmc
parentf73b483d9d7c955ddbc40f82d3e4a3f6708d7a3b (diff)
parent2af091c4f78b52880096d2a4c7e7383b471dbe7e (diff)
downloadeibhear-91622af84c3e664111a40ce8e68905f3e8b86e7e.tar.gz
eibhear-91622af84c3e664111a40ce8e68905f3e8b86e7e.tar.zst
eibhear-91622af84c3e664111a40ce8e68905f3e8b86e7e.zip
Merge pull request #124 from avonmoll/audio-tweaks
Changed pamixer to pulsemixer
Diffstat (limited to '.scripts/lmc')
-rwxr-xr-x.scripts/lmc8
1 files changed, 4 insertions, 4 deletions
diff --git a/.scripts/lmc b/.scripts/lmc
index f0153a8..f506e9a 100755
--- a/.scripts/lmc
+++ b/.scripts/lmc
@@ -6,10 +6,10 @@ newvol="pkill -RTMIN+10 i3blocks"
# Uncomment if i3mpdupdate isn't running:
case "$1" in
- "up") pamixer --allow-boost -i "$2" ; $newvol ;;
- "down") pamixer --allow-boost -d "$2" ; $newvol ;;
- "mute") pamixer --allow-boost -t ; $newvol ;;
- "truemute") pamixer --allow-boost -m ; $newvol ;;
+ "up") pulsemixer --change-volume +"$2" ; $newvol ;;
+ "down") pulsemixer --change-volume -"$2" ; $newvol ;;
+ "mute") pulsemixer --toggle-mute ; $newvol ;;
+ "truemute") pulsemixer --mute ; $newvol ;;
"toggle") mpc toggle ;;
"pause") mpc pause ; pauseallmpv ;;
"forward") mpc seek +"$2" ;;