aboutsummaryrefslogtreecommitdiff
path: root/.config/eww/scripts/get_mastervol
diff options
context:
space:
mode:
Diffstat (limited to '.config/eww/scripts/get_mastervol')
-rwxr-xr-x.config/eww/scripts/get_mastervol2
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/eww/scripts/get_mastervol b/.config/eww/scripts/get_mastervol
new file mode 100755
index 0000000..e1fd62a
--- /dev/null
+++ b/.config/eww/scripts/get_mastervol
@@ -0,0 +1,2 @@
+#!/bin/sh
+amixer get Master | awk '$0~/%/{print $4}' | tr -d '[%]'