diff --git a/Mumble.md b/Mumble.md index 43f27a7..345e2ef 100644 --- a/Mumble.md +++ b/Mumble.md @@ -1,3 +1,8 @@ -# Sway mute an deafen binds +# Sway mute and deafen binds In order to control Mumble under Sway, you will need to use the dbus endpoints Mumble exposes. Here is some example Sway config to bind `$mod+F11` to toggle mute and `$mod+F12` to toggle deaf. + +``` +bindsym $mod+F11 exec dbus-send --session --dest=net.sourceforge.mumble.mumble --type=method_call '/' 'net.sourceforge.mumble.Mumble.toggleSelfMuted' +bindsym $mod+F12 exec dbus-send --session --dest=net.sourceforge.mumble.mumble --type=method_call '/' 'net.sourceforge.mumble.Mumble.toggleSelfDeaf' +```