Skip to content

Commit

Permalink
modified: config/base.keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
Patches-weaver committed Feb 4, 2024
1 parent 6029ed7 commit 4e8cded
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions config/base.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -236,16 +236,21 @@ ZMK_BEHAVIOR(win_sleep, macro,
#define CODANOW &kp LC(LA(N)) // Coda web app
#define FFOX &kp LC(LA(F)) // Firefox app
#define TDIST_QADD &kp LG(LA(Q)) // Todoist quick add task
#define XYPlorer &kp LG(LA(Y)) // XYPlorer app



// modify windows
#define WIN_MAX &kp LG(UP) // maximize window
#define WIN_MIN &kp LG(DOWN) // minimize window
#define WIN_CLOSE &kp LA(F4) // close window
#define SHW_DSKTP &kp LC(D) // show desktop
#define WIN_MIN_ALL &kp LG(M) // minimize all windows
#define WIN_MON_L &kp LG((LS(LEFT))) // move window to monitor left
#define WIN_MON_R &kp LG((LS(RIGHT))) // move window to monitor right
#define SHW_DSKTP &kp LG(D) // show desktop
#define WIN_FOCUS &kp LG(HOME) // show desktop
#define SNIP &kp LG((LS(S))) // windows snip tool
#define SNIPT &kp LG((LS(T))) // Powertoys snip OCR tool
#define SNIPOCR &kp LG((LS(T))) // Powertoys snip OCR tool
#define WIN_CLOSE &kp LA(F4) // close window

// keypad aliases
#define DIV &kp KP_DIVIDE
Expand Down Expand Up @@ -357,23 +362,23 @@ ZMK_LAYER(apps,
// ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮
CODA ___ EVTHNG KEYPIR ___ ___ ___ ___ ___ ___
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
___ ___ CODANOW SNIPT ___ ___ ___ ___ ___ ___
___ SNIP CODANOW TDIST_QADD ___ ___ ___ ___ ___ ___
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
FFOX LINE ___ ___ ___ ___
FFOX LINE ___ ___ SNIPOCR XYPlorer
// ╰─────────────┼─────────────┴─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┴─────────────┴─────────────╯
___ ___ ___ ___
// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯
)

ZMK_LAYER(win,
// ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮
___ WIN_CLOSE WIN_MAX ___ ___ ___ ___ ___ ___ ___
___ WIN_CLOSE WIN_MAX ___ ___ ___ ___ ___ ___ WIN_MIN_ALL
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
___ SNIP ___ TDIST_QADD ___ ___ ___ ___ ___ ___
___ WIN_MON_L ___ WIN_MON_R ___ ___ ___ ___ ___ ___
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
___ WIN_MIN SHW_DSKTP ___ ___ ___
WIN_FOCUS WIN_MIN SHW_DSKTP ___ ___ ___
// ╰─────────────┼─────────────┴─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┴─────────────┴─────────────╯
___ ___ ___ ___
___ ___ ___ ___
// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯
)

Expand Down

0 comments on commit 4e8cded

Please sign in to comment.