home: i3: volume bindings
This commit is contained in:
parent
8284139b0e
commit
97a2a0e6e5
|
@ -88,6 +88,12 @@ in
|
||||||
keybindings = lib.mkOptionDefault {
|
keybindings = lib.mkOptionDefault {
|
||||||
"${modifier}+Shift+e" = ''mode "${logoutMode}"'';
|
"${modifier}+Shift+e" = ''mode "${logoutMode}"'';
|
||||||
"${modifier}+i" = "exec emacsclient -c";
|
"${modifier}+i" = "exec emacsclient -c";
|
||||||
|
|
||||||
|
# Volume handling
|
||||||
|
"XF86AudioRaiseVolume" = "exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5%";
|
||||||
|
"XF86AudioLowerVolume" = "exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5%";
|
||||||
|
"XF86AudioMute" = "exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle";
|
||||||
|
"XF86AudioMicMute" = "exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle";
|
||||||
};
|
};
|
||||||
|
|
||||||
modes =
|
modes =
|
||||||
|
|
Loading…
Reference in a new issue