diff options
| author | 0scar <qgt268@alumni.ku.dk> | 2021-06-10 08:15:24 +0000 |
|---|---|---|
| committer | 0scar <qgt268@alumni.ku.dk> | 2021-06-10 08:15:24 +0000 |
| commit | 2ee4672b82bddf7e78aff7a2ef212f495debadac (patch) | |
| tree | 9ce6557e5cd666dddbb4e26c377c75451cc0df6f /.local/bin/statusbar/volinfo | |
| parent | cd9049c5033f2c403bfdae1e997790d67523d1ba (diff) | |
Update statusbar scripts
Diffstat (limited to '.local/bin/statusbar/volinfo')
| -rwxr-xr-x | .local/bin/statusbar/volinfo | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/.local/bin/statusbar/volinfo b/.local/bin/statusbar/volinfo index fd09b13..71d40ad 100755 --- a/.local/bin/statusbar/volinfo +++ b/.local/bin/statusbar/volinfo @@ -1,11 +1,9 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash ARG=${1:-$BLOCK_BUTTON} case $ARG in - 1) pamixer -t && sigdwmblocks 4;; - 4) pamixer -i 1 && sigdwmblocks 4;; - 5) pamixer -d 1 && sigdwmblocks 4;; + 1) pamixer -t && sigdwmblocks 6;; esac VOL=$(pamixer --get-volume) |
