diff options
Diffstat (limited to '')
-rwxr-xr-x | .local/bin/volume-info | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.local/bin/volume-info b/.local/bin/volume-info new file mode 100755 index 0000000..b9a8488 --- /dev/null +++ b/.local/bin/volume-info @@ -0,0 +1,8 @@ +#!/bin/sh +cur_vol=$(pamixer --get-volume) + +if [ $(pamixer --get-mute) = true ]; then + printf 'mt \n' "$cur_vol" +else + printf '%02d \n' "$cur_vol" +fi |