From 8450e4cfe3c83af2f10952bb562ab04ff81d55c2 Mon Sep 17 00:00:00 2001 From: joe Date: Wed, 29 Oct 2025 18:05:51 +0100 Subject: up --- .local/bin/mic | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.local/bin/mic') diff --git a/.local/bin/mic b/.local/bin/mic index 06597ff..67a9bfa 100755 --- a/.local/bin/mic +++ b/.local/bin/mic @@ -32,10 +32,10 @@ sub mic my $muted = `/usr/bin/pactl get-source-mute \@DEFAULT_SOURCE\@ | awk '{print \$2}'`; chomp $muted; if ($muted eq "yes") { - notify(' muted'); + notify('[mic] muted'); } else { - notify(' restored'); + notify('[mic] restored'); } exit; } @@ -45,12 +45,12 @@ sub mic capture { system(MIXER_PATH, 'rec', '100'); }; - notify(' microphone restored'); + notify('[mic] microphone restored'); } else { capture { system(MIXER_PATH, 'rec', '0'); - notify(' microphone muted'); + notify('[mic] microphone muted'); }; } return; -- cgit v1.2.3