feature: manage macos sound devices
- installed switchaudio-osx for managing macos sound devices e.g : muting a device or switching to a device - aliases/functions to switch/mute devices - always mute speakers and switch to headset before running a zoom session - new aliases for starting timeboxed zoom meetings
This commit is contained in:
@ -19,5 +19,13 @@ alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; sudo rm -rfv $HOME/.Trash; s
|
||||
# via https://github.com/richinfante/dotfiles/blob/0e1df2d833257e3a3ca2e4fcc8f2f128d52b5d29/dotfiles/.profile_setup/30-aliases.sh
|
||||
alias finder="open ."
|
||||
alias cls="clear; printf '\e[3J'"
|
||||
alias zoom="open -na 'zoom.us'"
|
||||
# Sound management
|
||||
alias mute_headset='mute_device "Plantronics BT600"'
|
||||
alias mute_speakers='mute_device "Haut-parleurs MacBook Pro"'
|
||||
alias switch_headset='mute_speakers && switch_device "Plantronics BT600"'
|
||||
alias switch_speakers='mute_headset && switch_device "Haut-parleurs MacBook Pro"'
|
||||
# Meeting management
|
||||
alias zoom="switch_headset && open -na 'zoom.us'"
|
||||
alias nozoom="pkill 'zoom.us'"
|
||||
alias zoom30='zoomtimeboxed 30'
|
||||
alias zoom60='zoomtimeboxed 60'
|
||||
|
Reference in New Issue
Block a user