From bf962aa998b7cebe52ea94141690475f4fdc1fe0 Mon Sep 17 00:00:00 2001 From: pryazha Date: Wed, 1 Jan 2025 21:33:20 +0500 Subject: initial commit --- scripts/status-bar/sb-volume | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 scripts/status-bar/sb-volume (limited to 'scripts/status-bar/sb-volume') 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)% -- cgit v1.2.3