aboutsummaryrefslogtreecommitdiff
path: root/.config/eww/scripts/get_headvol
diff options
context:
space:
mode:
Diffstat (limited to '.config/eww/scripts/get_headvol')
-rwxr-xr-x.config/eww/scripts/get_headvol2
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/eww/scripts/get_headvol b/.config/eww/scripts/get_headvol
new file mode 100755
index 0000000..5ce9bf5
--- /dev/null
+++ b/.config/eww/scripts/get_headvol
@@ -0,0 +1,2 @@
+#!/bin/sh
+amixer sget Headphone | grep 'Left:' | cut -d\ -f7 | tr -d '[%]'