diff options
Diffstat (limited to '')
| -rwxr-xr-x | .local/bin/mic | 8 | 
1 files changed, 4 insertions, 4 deletions
| 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; | 
