aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-06-20 19:17:43 +0200
committerPřemysl Eric Janouch <p@janouch.name>2021-06-20 19:19:14 +0200
commit32a28fcaa333e6d897891407d07c7056566a2e61 (patch)
treef9f6ea94928acc620376779adbe9034f4d34e2b1
parent5f1b504d7f39953c8898b1fb330f9fe53f9496d3 (diff)
downloaddesktop-tools-32a28fcaa333e6d897891407d07c7056566a2e61.tar.gz
desktop-tools-32a28fcaa333e6d897891407d07c7056566a2e61.tar.xz
desktop-tools-32a28fcaa333e6d897891407d07c7056566a2e61.zip
wmstatus: make Win-S-Delete mute the microphone
-rw-r--r--wmstatus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wmstatus.c b/wmstatus.c
index 00dfec1..b6fa899 100644
--- a/wmstatus.c
+++ b/wmstatus.c
@@ -2235,6 +2235,7 @@ g_keys[] =
// Volume
{ Mod4Mask, XK_Insert, on_volume_switch, 0 },
{ Mod4Mask, XK_Delete, on_volume_mute, 0 },
+ { Mod4Mask | ShiftMask, XK_Delete, on_volume_mic_mute, 0 },
{ Mod4Mask, XK_Page_Up, on_volume_set, 5 },
{ Mod4Mask | ShiftMask, XK_Page_Up, on_volume_set, 1 },
{ Mod4Mask, XK_Page_Down, on_volume_set, -5 },
@@ -2243,8 +2244,8 @@ g_keys[] =
{ ShiftMask, XF86XK_AudioRaiseVolume, on_volume_set, 1 },
{ 0, XF86XK_AudioLowerVolume, on_volume_set, -5 },
{ ShiftMask, XF86XK_AudioLowerVolume, on_volume_set, -1 },
- { 0, XF86XK_AudioMicMute, on_volume_mic_mute, 0 },
{ 0, XF86XK_AudioMute, on_volume_mute, 0 },
+ { 0, XF86XK_AudioMicMute, on_volume_mic_mute, 0 },
};
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -