Skip to content

Commit

Permalink
magic workspace added
Browse files Browse the repository at this point in the history
  • Loading branch information
arilebedey committed Mar 31, 2024
1 parent e06d52d commit bdc22a0
Showing 1 changed file with 33 additions and 3 deletions.
36 changes: 33 additions & 3 deletions config/my.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,18 @@ ZMK_BEHAVIOR(mute, macro,
bindings = <&kp C_MUTE>;
)

ZMK_BEHAVIOR(media_back, macro,
wait-ms = <10>;
tap-ms = <5>;
bindings = <&kp LG(LS(LA(Q)))>;
)

ZMK_BEHAVIOR(media_frw, macro,
wait-ms = <10>;
tap-ms = <5>;
bindings = <&kp LG(LS(LA(W)))>;
)

ZMK_BEHAVIOR(p_term, macro,
wait-ms = <10>;
tap-ms = <5>;
Expand Down Expand Up @@ -378,6 +390,24 @@ ZMK_BEHAVIOR(p0, macro,
bindings = <&kp LG(N0)>;
)

ZMK_BEHAVIOR(win_float, macro,
wait-ms = <10>;
tap-ms = <5>;
bindings = <&kp LG(N0)>;
)

ZMK_BEHAVIOR(set_lay_ma, macro,
wait-ms = <10>;
tap-ms = <5>;
bindings = <&kp LG(LS(E))>;
)

ZMK_BEHAVIOR(lay_magic, macro,
wait-ms = <10>;
tap-ms = <5>;
bindings = <&kp LG(E)>;
)


/* Keymap */

Expand Down Expand Up @@ -443,7 +473,7 @@ ZMK_LAYER(symbol,
//├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤╭─────────────┬─────────────┬─────────────╮╭─────────────┬─────────────┬─────────────╮├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp TILDE &kp LT &kp PIPE &kp MINUS &kp GT &kp FSLH &kp BSLH &kp DOT &kp STAR XXX XXX XXX &kp FSLH &kp DEL &kp LS(TAB) XXX XXX XXX
//├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────╯├─────────────┼─────────────┼─────────────┤├─────────────┼─────────────┼─────────────┤╰─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp AT &kp AMPS &kp LBKT &kp RBKT &kp PLUS &kp PRCNT &kp COLON &kp SEMI XXX XXX &tog SYMBOL &kp LPAR &kp LBKT &kp RBKT &kp RPAR XXX
&kp AT &kp AMPS &kp LBKT &kp RBKT &kp PLUS &kp PRCNT &kp COLON &kp SEMI XXX XXX &tog SYMBOL &kp LPAR &kp LPAR &kp LBKT &kp RBKT XXX
//╰─────────────┴─────────────┴─────────────┴─────────────┴─────────────╯ ╰─────────────┴─────────────┴─────────────╯╰─────────────┴─────────────┴─────────────╯ ╰─────────────┴─────────────┴─────────────┴─────────────┴─────────────╯
)

Expand All @@ -457,9 +487,9 @@ ZMK_LAYER(hyper,
//├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
XXX XXX &s_yt &s_ggl XXX &o_tab &vol_d &p_win &new_win &shift_desk &spot_n &cl_win
//├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤╭─────────────┬─────────────┬─────────────╮╭─────────────┬─────────────┬─────────────╮├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
XXX XXX &p_yt &p_ggl &clip &c_tab &shift_desk XXX XXX XXX XXX XXX &paste &n_win &n_desk &yt_p &spot_p XXX
XXX XXX &p_yt &p_ggl &clip &c_tab &lay_magic &set_lay_ma XXX XXX XXX XXX &paste &n_win &n_desk &yt_p &spot_p XXX
//├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────╯├─────────────┼─────────────┼─────────────┤├─────────────┼─────────────┼─────────────┤╰─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
XXX XXX &m_clk &m_clk_s XXX &kp LSHIFT XXX XXX XXX XXX XXX &p_term &n_term &yt_pause XXX XXX
XXX XXX &m_clk &m_clk_s XXX XXX &media_back &media_frw XXX XXX XXX &p_term &n_term &yt_pause XXX XXX
//╰─────────────┴─────────────┴─────────────┴─────────────┴─────────────╯ ╰─────────────┴─────────────┴─────────────╯╰─────────────┴─────────────┴─────────────╯ ╰─────────────┴─────────────┴─────────────┴─────────────┴─────────────╯
)

Expand Down

0 comments on commit bdc22a0

Please sign in to comment.