Browse Source

Simplify the volume query

it is possible to use `--get-volume` to avoid having to strip the percent sign
main
Ivan Gregurić Ortolan 4 years ago
committed by GitHub
parent
commit
d059b49c8b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bar-functions/dwm_pulse.sh

+ 1
- 1
bar-functions/dwm_pulse.sh View File

@ -7,7 +7,7 @@
# Dependencies: pamixer
dwm_pulse () {
VOL=$(pamixer --get-volume-human | tr -d '%')
VOL=$(pamixer --get-volume)
printf "%s" "$SEP1"
if [ "$IDENTIFIER" = "unicode" ]; then


Loading…
Cancel
Save