From 02e9f4d66f45bfa895a17ea821504c1e4f9d7ccd Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Wed, 5 Jul 2023 09:10:19 +0530 Subject: mutemic: proper spacing in notify-send --- .local/bin/audio_mutemic | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.local/bin/audio_mutemic b/.local/bin/audio_mutemic index 60023a9..b622b62 100755 --- a/.local/bin/audio_mutemic +++ b/.local/bin/audio_mutemic @@ -1,15 +1,13 @@ #! /bin/sh -# toggle mic mute and send notification about current state - wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle command -v notify-send > /dev/null || exit case "$(wpctl get-volume @DEFAULT_AUDIO_SOURCE@)" in *\[MUTED\]) - notify-send " muted" "microphone is muted" + notify-send " muted" "microphone is muted" ;; *) - notify-send " unmuted" "microphone is unmuted" + notify-send " unmuted" "microphone is active" ;; esac -- cgit v1.2.3