diff options
| author | eric.marin <maarin.eric@gmail.com> | 2024-10-09 19:26:26 +0200 |
|---|---|---|
| committer | eric.marin <maarin.eric@gmail.com> | 2024-10-09 19:26:26 +0200 |
| commit | 30ae3cfa42e485a00a268c332a76ae322cf32246 (patch) | |
| tree | 87bf3a0e1e590b6a94eb8fc44432a61e83a10cfd /eww/scripts/getvol | |
| parent | fab17beaccb37ffcd0cb5ece3bfd98f8e9dd4131 (diff) | |
| download | dotfiles-30ae3cfa42e485a00a268c332a76ae322cf32246.tar.gz dotfiles-30ae3cfa42e485a00a268c332a76ae322cf32246.zip | |
added ags and removed eww
Diffstat (limited to 'eww/scripts/getvol')
| -rwxr-xr-x | eww/scripts/getvol | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/eww/scripts/getvol b/eww/scripts/getvol deleted file mode 100755 index 4e4275d..0000000 --- a/eww/scripts/getvol +++ /dev/null @@ -1,12 +0,0 @@ -#!/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 |
