diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2021-03-10 16:06:09 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2021-03-10 16:08:25 +0000 |
commit | 78d0281e29d31b81dd5233d7eb6bcc8ff4a982f3 (patch) | |
tree | 5380749f4aea6a4662199b969499a45cfd50b8a4 /Scripts/.local/scripts/mpc_volume | |
parent | 8670ea3980fb53c395806cb4d25ba1453761e5a7 (diff) | |
download | dotfiles-78d0281e29d31b81dd5233d7eb6bcc8ff4a982f3.tar.gz dotfiles-78d0281e29d31b81dd5233d7eb6bcc8ff4a982f3.tar.bz2 dotfiles-78d0281e29d31b81dd5233d7eb6bcc8ff4a982f3.zip |
(SXHkD)~playerctl controls instead of mpc based commands
playerctl is a bit more generic and makes it easier to script
interactions.
Diffstat (limited to 'Scripts/.local/scripts/mpc_volume')
-rwxr-xr-x | Scripts/.local/scripts/mpc_volume | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Scripts/.local/scripts/mpc_volume b/Scripts/.local/scripts/mpc_volume deleted file mode 100755 index c8d2031..0000000 --- a/Scripts/.local/scripts/mpc_volume +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env bash - -if [[ $# -eq 0 ]] -then - echo "$(mpc volume | tr -d 'volume: ' | tr -d '%')" -elif [[ $# -eq 1 ]] -then - mpc volume "$(echo $1 | tr -d '%')" -fi |