diff options
| author | bd <bdunahu@operationnull.com> | 2025-12-13 23:43:10 -0500 |
|---|---|---|
| committer | bdunahu <bdunahu@operationnull.com> | 2026-01-03 21:46:06 -0700 |
| commit | 288ccb3984c7cb46b67d0f6bf7fb6d53c5d7a2d3 (patch) | |
| tree | 47091f5aeede90e1364546e8122cd55e6d7f2971 /.config/eww/scripts/getvol | |
| parent | df14036eb22ff9326c2806eb3f8cafc0d3042efa (diff) | |
guix: full refactor of configuration structure
Diffstat (limited to '.config/eww/scripts/getvol')
| -rwxr-xr-x | .config/eww/scripts/getvol | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/.config/eww/scripts/getvol b/.config/eww/scripts/getvol deleted file mode 100755 index 9fbe60f..0000000 --- a/.config/eww/scripts/getvol +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -RUNNING_SINK=$(pactl list sinks | awk ' - /^Sink #/ {sink=$2} - /State: RUNNING/ {print sink} -' | head -n1) - -pactl list sinks | grep -A 20 "^Sink $RUNNING_SINK" | grep '^[[:space:]]Volume:' | \ - head -n $(( $SINK + 1 )) | tail -n 1 | sed -e 's,.* \([0-9][0-9]*\)%.*,\1,' |
