summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-03-31 12:31:37 +0300
committerThanos Apollo <[email protected]>2023-03-31 12:31:37 +0300
commitf8f76d9595b14f421af35196934a1b2bd0c8220a (patch)
treea1e0aecf56e46424080e558169844ad35870c323
parenta2c4af0b53239f1530dcfaccf3642212ce748a24 (diff)
waybar: Add sound display one line script
-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)