diff options
| author | Polesznyák Márk <contact@pml68.dev> | 2026-01-16 11:28:37 +0100 |
|---|---|---|
| committer | Polesznyák Márk <contact@pml68.dev> | 2026-01-16 11:39:09 +0100 |
| commit | 996faf14ebeda73d455959a9813b15e4fffbaab8 (patch) | |
| tree | a0d84a50f72f4bbf90dc948159ab7d4716679ab4 | |
| parent | feat(scripts): use user-specific dirlist for tmus search paths (diff) | |
| download | dotfiles-996faf14ebeda73d455959a9813b15e4fffbaab8.tar.gz | |
feat: add audio script for current audio status
| -rwxr-xr-x | scripts/audio | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/audio b/scripts/audio new file mode 100755 index 0000000..4b4bbc1 --- /dev/null +++ b/scripts/audio @@ -0,0 +1,6 @@ +#!/bin/bash +if [ $(pulsemixer --get-mute) -eq 1 ]; then + echo "MUTED" +else + printf "%s%%" $(pulsemixer --get-volume | awk '{print $2 }') +fi |
