From f8f76d9595b14f421af35196934a1b2bd0c8220a Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Fri, 31 Mar 2023 12:31:37 +0300 Subject: waybar: Add sound display one line script --- .config/waybar/scripts/sound.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 .config/waybar/scripts/sound.sh diff --git a/.config/waybar/scripts/sound.sh b/.config/waybar/scripts/sound.sh new file mode 100755 index 0000000..8c19a5b --- /dev/null +++ b/.config/waybar/scripts/sound.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +awk -F"[][]" '/Left:/ { print $2 }' <(amixer sget Master) -- cgit v1.2.3