diff options
author | pryazha <pryadeiniv@mail.ru> | 2025-01-01 21:33:20 +0500 |
---|---|---|
committer | pryazha <pryadeiniv@mail.ru> | 2025-01-01 21:33:20 +0500 |
commit | bf962aa998b7cebe52ea94141690475f4fdc1fe0 (patch) | |
tree | b16151214341b04d10b38b5c3566f26dd583c4fd /scripts/status-bar/sb-volume |
initial commit
Diffstat (limited to 'scripts/status-bar/sb-volume')
-rwxr-xr-x | scripts/status-bar/sb-volume | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/status-bar/sb-volume b/scripts/status-bar/sb-volume new file mode 100755 index 0000000..2bd20ba --- /dev/null +++ b/scripts/status-bar/sb-volume @@ -0,0 +1,7 @@ +#!/bin/sh + +case "$BLOCK_BUTTON" in + 1) setsid --fork pavucontrol ;; +esac + +echo $(awk '{ print $2 }' <(wpctl get-volume @DEFAULT_AUDIO_SINK@) | cut -c 3,4)% |