Skip to content

Commit

Permalink
Update combos for use with Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
dxmh committed Jan 4, 2025
1 parent f36a121 commit 719f3e2
Showing 1 changed file with 6 additions and 21 deletions.
27 changes: 6 additions & 21 deletions config/combos.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -28,32 +28,17 @@ COMBO(greater_than, &kp GREATER_THAN, 22 23, NUM)
COMBO(ltgt, &macro_ltgt, 21 22 23, NUM)

/* Text processing */
COMBO(undo, &kp LG(Z), 20 21, BASE)
COMBO(cut, &kp LG(X), 21 23, BASE)
COMBO(copy, &kp LG(C), 21 22, BASE)
COMBO(paste, &kp LG(V), 21 22 23, BASE)
COMBO(select_all, &kp LG(A), 20 23, BASE)
COMBO(undo, &kp LC(Z), 20 21, BASE)
COMBO(cut, &kp LC(X), 21 23, BASE)
COMBO(copy, &kp LC(C), 21 22, BASE)
COMBO(paste, &kp LC(V), 21 22 23, BASE)
COMBO(select_all, &kp LC(A), 20 23, BASE)
COMBO(caps_word, &caps_word, 31 32, BASE)

/* System */
COMBO(power, &macro_power, 4 5, BASE)
COMBO(menu_search, &kp LG(LS(SLASH)), 16 17 18, BASE)
COMBO(spotlight, &kp LG(SPACE), 11 12 13, BASE)
COMBO(mic_mute_left, &kp LG(BACKSLASH), 13 23, BASE)
COMBO(mic_mute_right, &kp LG(BACKSLASH), 16 26, BASE)

/* Window management */
COMBO(tile_left, &kp LG(LC(LA(LEFT))), 26 27, BASE)
COMBO(tile_right, &kp LG(LC(LA(RIGHT))), 27 28, BASE)
COMBO(maximize, &kp LG(LC(LA(UP))), 26 27 28, BASE)
COMBO(center, &kp LG(LC(LA(DOWN))), 26 28, BASE)

/* Media */
COMBO(overview, &kp LG(TAB), 11 12 13, BASE)
COMBO(volup, &kp C_VOL_UP, 7 17, NAV)
COMBO(voldown, &kp C_VOL_DN, 17 27, NAV)
COMBO(playpause, &kp C_PLAY_PAUSE, 26 28, NAV)
COMBO(prev, &kp C_PREV, 26 27, NAV)
COMBO(next, &kp C_NEXT, 27 28, NAV)

/* Keyboard */
COMBO(reset, &reset, 11 12 13 17, BASE)
Expand Down

0 comments on commit 719f3e2

Please sign in to comment.