-
Follow QMK setup guide to clone
qmk_firmware -
Configure
qmk-cli:$ qmk config user.keyboard=kbdfans/kbd75/rev1 $ qmk config user.keymap=minimal52 $ qmk config user.qmk_home=/path/to/qmk
-
Clone this gist to
/path/to/qmk/keyboards/kbdfans/kbd75/keymaps/minimal52/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Find all wayland containers in Sway | |
| swaymsg -t get_tree | jq -r '.. | .app_id?' | grep -v null | |
| # Find all xwayland containers in Sway | |
| swaymsg -t get_tree | jq -r '.. | .instance?' | grep -v null |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |
| /* 0: Qwerty layer | |
| * ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐ | |
| * │ ESC │ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │ INS │ DEL │ FN │ | |
| * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┴─────┼─────┤ | |
| * │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ BSPC │HOME │ | |
| * ├─────┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬────────┼─────┤ | |
| * │ TAB │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ BSLS │END │ | |
| * ├────────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴────────┼─────┤ | |
| * │ LCTRL │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ ENTER │PGUP │ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const trafficLight = Machine({ | |
| id: 'trafficLight', | |
| initial: 'red', | |
| states: { | |
| red: { | |
| on: { | |
| TIMER: 'amber' | |
| } | |
| }, | |
| amber: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const docVideoFlow = Machine({ | |
| id: 'docVideo', | |
| type: 'parallel', | |
| states: { | |
| recordState: { | |
| initial: 'hideButton', | |
| states: { | |
| hideButton: { | |
| on: { | |
| NEXT_RECORD_STATE: 'showButton' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env node | |
| /** | |
| * A script to do something handy in an easy way | |
| * | |
| * For more info, run: | |
| * $ <cli-name> --help | |
| */ | |
| 'use strict' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export type SystemTypes = 'os' | 'browser'; | |
| export type SystemAttribute = { | |
| codeName: string; | |
| name: string; | |
| versionPrefix: string; | |
| }; | |
| export type SystemInfo = { | |
| name: string; |
NewerOlder