Skip to content

Commit

Permalink
feat: add mic mute shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
equiman authored Dec 13, 2024
1 parent b608227 commit 7c4191f
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 6 deletions.
Binary file modified .github/images/layers/macos/STG.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion config/os/macos/keymap.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
#define MSRU4 &none
#define MSRU5 &none // tap: task manager

#define MSRM0 &kp C_MUTE
#define MSRM0 &mp_mSTG_m // tap: vol mute | shift: mic mute
#define MSRM1 &hm RSHFT LS(LA(LG(LEFT))) // tap: rectangle left half
#define MSRM2 &hm_mSTG_RA LALT 0 // tap: mp_mSTG_rectangle
#define MSRM3 &kp LS(LA(LG(RIGHT))) // tap: rectangle right half
Expand Down
10 changes: 10 additions & 0 deletions config/os/macos/morph/settings.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,13 @@ MORPH_KAS(
&kp LA(LC(BACKSPACE)), // alt: restore
&kp LS(LA(LC(F))) // shift: center
)

// mp_mSTG_m
MORPH_KS(
m,
STG,
f,
mute,
&kp C_MUTE, // tap: volume mute
&kp LS(LA(LC(LG(M)))) // shift: mic mute
)
13 changes: 8 additions & 5 deletions docs/macos.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,13 @@ Dedicated to Bluetooth and media controls.
#### Media

| Label | Action |
| ------------: | ------------ |
| <kbd>πŸ”Š</kbd> | Volume up |
| <kbd>πŸ”‡</kbd> | Mute |
| <kbd>πŸ”‰</kbd> | Volume down |
| Label | Shortcut | Action |
| ------------: | ------------------------- | ------------ |
| <kbd>πŸ”Š</kbd> | | Volume up |
| <kbd>πŸ”‡</kbd> | | Volume Mute |
| <kbd>πŸŽ™οΈ</kbd> | <kbd>⇧</kbd>+<kbd>πŸ”‡</kbd> | Mic Mute |
| <kbd>πŸ”‰</kbd> | | Volume down |

> Requires (MuteKey)[https://apps.apple.com/us/app/mutekey/id1509590766?mt=12] app
⇧ [Back to menu](#menu)

0 comments on commit 7c4191f

Please sign in to comment.