summaryrefslogtreecommitdiff
path: root/.config/waybar/scripts
diff options
context:
space:
mode:
Diffstat (limited to '.config/waybar/scripts')
-rwxr-xr-x.config/waybar/scripts/sound.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/waybar/scripts/sound.sh b/.config/waybar/scripts/sound.sh
new file mode 100755
index 0000000..8c19a5b
--- /dev/null
+++ b/.config/waybar/scripts/sound.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+awk -F"[][]" '/Left:/ { print $2 }' <(amixer sget Master)