Skip to content

Commit

Permalink
fix alt modifier on STG layer
Browse files Browse the repository at this point in the history
  • Loading branch information
equiman committed Mar 17, 2024
1 parent cbe396b commit be79b66
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 21 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.
1 change: 0 additions & 1 deletion config/os/macos/hold/settings.dtsi
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
HR_HOLD(m, STG, LC, m_s_b3) //hm_mSTG_LC
HR_HOLD(m, STG, LA, m_s_b4) //hm_mSTG_LA
HR_HOLD(m, STG, LS, mp_mSTG_screenshot) //hm_mSTG_LS

HR_HOLD(m, STG, RA, mp_mSTG_rectangle) //hm_mSTG_RA
8 changes: 4 additions & 4 deletions config/os/macos/keymap.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@

#define MSLM0 &kp LC(LA(SPACE)) // tap: input source
#define MSLM1 &hm_mSTG_LC LCTRL 0 // tap: m_s_b3
#define MSLM2 &hm_mSTG_LA LALT 0 // tap: m_s_b4
#define MSLM3 &none
#define MSLM2 &m_s_b4
#define MSLM3 &kp LALT
#define MSLM4 &hm_mSTG_LS LSHFT 0 // tap: mp_mSTG_screenshot
#define MSLM5 &mp_ma_zoom_reset // tap: zoom reset | shift: zoom reset on vscode

Expand All @@ -139,8 +139,8 @@
#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
#define MSRM4 &none
#define MSRM5 &none
#define MSRM4 &kp LC(UP) // tap: mission control
#define MSRM5 &kp LC(DOWN) // tap: application window

#define MSRD0 &kp C_VOL_DN
#define MSRD1 &kp LA(LG(LC(LEFT))) // tap: rectangle bottom left
Expand Down
19 changes: 3 additions & 16 deletions docs/macos.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Icons used to describe some modifiers and actions
| <kbd>⌘</kbd> | Command |
| <kbd>⌃</kbd> | Control |
| <kbd>⌥</kbd> | Alt |
| <kbd>⇧</kbd> | Shift |
| <kbd>⇧</kbd> | Shift |
| <kbd>🄰</kbd> | Caps Lock |
| <kbd>⎋</kbd> | Esc |
| <kbd>↹</kbd> | Tab |
Expand Down Expand Up @@ -60,7 +60,6 @@ Icons used to describe some modifiers and actions
| <kbd>⌫</kbd> | <kbd>⌘</kbd>+<kbd>⌫</kbd> | Move to trash |
| <kbd>⌫</kbd> | <kbd>⌘</kbd>+<kbd>⌥</kbd>+<kbd>⌫</kbd> | Delete file permanently |


### Layers

| Label | Shortcut | Actions |
Expand Down Expand Up @@ -191,19 +190,10 @@ Dedicated to Bluetooth and media controls.
| <kbd>ZR</kbd> | | Zoom reset |
| <kbd>ZR</kbd> | <kbd>⇧</kbd>+<kbd>ZR</kbd> | Zoom reset VSCode |
| <kbd>Z-</kbd> | | Zoom out |
| <kbd>M+</kbd> | | Magnifier in |
| <kbd>MR</kbd> | | Magnifier toggle/reset |
| <kbd>M-</kbd> | | Magnifier out |
| <kbd>🔅</kbd> | | Bright down |
| <kbd>🔆</kbd> | | Bright up |
| <kbd>⎚</kbd> | | Fancy Zones |
| <kbd>▤</kbd> | | Task Manager |
| <kbd>ⓘ</kbd> | | System Info |
| <kbd>⛨</kbd> | | Security |
| <kbd>⎈</kbd> | | Settings |

> [!IMPORTANT]
> Magnifier tools required to be enabled by `setting` -> `accessibility` -> `zoom` and enabling `use keyboard shortcuts to zoom`.
| <kbd>⎚</kbd> | | Application Window |
| <kbd>▤</kbd> | | Mission Control |

#### Tools

Expand All @@ -228,8 +218,5 @@ Dedicated to Bluetooth and media controls.
| <kbd>🔊</kbd> | Volume up |
| <kbd>🔇</kbd> | Mute |
| <kbd>🔉</kbd> | Volume down |
| <kbd>⏮️</kbd> | Prev |
| <kbd>⏯️</kbd> | Play/Pause |
| <kbd>⏭️</kbd> | Next |

[Back to menu](#menu)

0 comments on commit be79b66

Please sign in to comment.