From dc6fed0f0a9424655929e1edf4965ddcfa78d5d3 Mon Sep 17 00:00:00 2001 From: Julian T Date: Wed, 28 Apr 2021 19:03:25 +0200 Subject: Script, zsh and vim changes --- scripts/Scripts/volume | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'scripts/Scripts/volume') diff --git a/scripts/Scripts/volume b/scripts/Scripts/volume index 68e7bde..21a0e08 100755 --- a/scripts/Scripts/volume +++ b/scripts/Scripts/volume @@ -1,5 +1,7 @@ #!/usr/bin/env bash +plctl_flags="-i chromium,firefox" + case $1 in micmutetoggle) pacmd set-source-mute @DEFAULT_SOURCE@ toggle @@ -21,12 +23,12 @@ case $1 in ;; playtoggle) - playerctl play-pause + playerctl $plctl_flags play-pause ;; forward) - playerctl next + playerctl $plctl_flags next ;; backward) - playerctl previous + playerctl $plctl_flags previous ;; esac -- cgit v1.2.3