aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPolesznyák Márk <contact@pml68.dev>2026-01-16 11:28:37 +0100
committerPolesznyák Márk <contact@pml68.dev>2026-01-16 11:39:09 +0100
commit996faf14ebeda73d455959a9813b15e4fffbaab8 (patch)
treea0d84a50f72f4bbf90dc948159ab7d4716679ab4
parentfeat(scripts): use user-specific dirlist for tmus search paths (diff)
downloaddotfiles-996faf14ebeda73d455959a9813b15e4fffbaab8.tar.gz
feat: add audio script for current audio status
-rwxr-xr-xscripts/audio6
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