diff options
| author | sinanmohd <sinan@firemail.cc> | 2023-07-05 09:10:19 +0530 | 
|---|---|---|
| committer | sinanmohd <sinan@firemail.cc> | 2023-07-05 10:39:01 +0530 | 
| commit | 02e9f4d66f45bfa895a17ea821504c1e4f9d7ccd (patch) | |
| tree | 33421a488e75d19aea16867d8b2ff7c54e0edc2b /.local/bin | |
| parent | fd53e43b5833dd076230f18d0aff58d9ca542b8b (diff) | |
mutemic: proper spacing in notify-send
Diffstat (limited to '.local/bin')
| -rwxr-xr-x | .local/bin/audio_mutemic | 6 | 
1 files 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 | 
