# Sway mute and deafen binds

In order to use hotkeys 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 deafen.

```
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'
```
