added eww folder

This commit is contained in:
mpuchstein
2025-03-04 23:17:15 +01:00
parent 716b8a0f2f
commit bf6adceda3
9 changed files with 141 additions and 1 deletions

12
eww/scripts/getvol Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/sh
if command -v pamixer &>/dev/null; then
if [ true == $(pamixer --get-mute) ]; then
echo 0
exit
else
pamixer --get-volume
fi
else
amixer -D pulse sget Master | awk -F '[^0-9]+' '/Left:/{print $3}'
fi