From 58529a552b973f7c3cf45fb7796fc0d4e526875c Mon Sep 17 00:00:00 2001 From: katherine Date: Fri, 13 May 2022 00:40:55 -0700 Subject: new keyboard --- .config/alacritty/main.yml | 2 +- .config/dunst/dunstrc | 4 +- .config/herbstluftwm/autostart | 64 +++++++--------- .../keebio/nyquist/keymaps/ageha/config.h | 11 +++ .../keebio/nyquist/keymaps/ageha/keymap.c | 87 ++++++++++++++++++++++ .../keebio/nyquist/keymaps/ageha/rules.mk | 9 +++ 6 files changed, 137 insertions(+), 40 deletions(-) create mode 100644 .config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/config.h create mode 100644 .config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/keymap.c create mode 100644 .config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/rules.mk diff --git a/.config/alacritty/main.yml b/.config/alacritty/main.yml index ebd7dff..be6feee 100644 --- a/.config/alacritty/main.yml +++ b/.config/alacritty/main.yml @@ -21,7 +21,7 @@ scrolling: history: 16384 hints: - alphabet: "fjdksl" + alphabet: "fjeksl" enabled: - regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\ [^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+" diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index 5c993a0..5135aa8 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -145,11 +145,11 @@ # Xev might be helpful to find names for keys. # Close notification. - close = mod4+grave + close = mod4+minus # Redisplay last message(s). # On the US keyboard layout "grave" is normally above TAB and left # of "1". - history = mod4+ctrl+grave + history = mod4+ctrl+minus [urgency_low] timeout = 0 diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart index 883c1d0..89b7ff8 100755 --- a/.config/herbstluftwm/autostart +++ b/.config/herbstluftwm/autostart @@ -44,41 +44,34 @@ hc keyunbind --all # keybindings hc keybind Mod4-Shift-r reload -hc keybind Mod4-e close_or_remove +hc keybind Mod4-q close_or_remove # basic movement # focusing clients -hc keybind Mod4-h focus left -hc keybind Mod4-j focus down -hc keybind Mod4-k focus up -hc keybind Mod4-l focus right +hc keybind Mod4-h focus left +hc keybind Mod4-j focus down +hc keybind Mod4-k focus up +hc keybind Mod4-l focus right # moving clients -hc keybind Mod4-Shift-h shift left -hc keybind Mod4-Shift-j shift down -hc keybind Mod4-Shift-k shift up -hc keybind Mod4-Shift-l shift right +hc keybind Mod4-Shift-h shift left +hc keybind Mod4-Shift-j shift down +hc keybind Mod4-Shift-k shift up +hc keybind Mod4-Shift-l shift right # cycle through clients -hc keybind Mod4-d cycle 1 -hc keybind Mod4-a cycle -1 - -# splitting frames -# create an empty frame at the specified direction -hc keybind Mod4-s chain .-. lock .-. split bottom 0.5 .-. focus -e d .-. unlock -hc keybind Mod4-v chain .-. lock .-. split right 0.5 .-. focus -e r .-. unlock -# create an empty frame and shift the currently focused client into it -hc keybind Mod4-Control-s chain .-. lock .-. split bottom 0.5 .-. shift down .-. unlock -hc keybind Mod4-Control-v chain .-. lock .-. split right 0.5 .-. shift right .-. unlock -# let the current frame explode into subframes +hc keybind Mod4-m cycle -1 +hc keybind Mod4-e cycle 1 + +# split frames hc keybind Mod4-Shift-space split explode # resizing frames resizestep=0.04 -hc keybind Mod4-Control-h resize left +$resizestep -hc keybind Mod4-Control-j resize down +$resizestep -hc keybind Mod4-Control-k resize up +$resizestep -hc keybind Mod4-Control-l resize right +$resizestep +hc keybind Mod4-Control-h resize left +$resizestep +hc keybind Mod4-Control-j resize down +$resizestep +hc keybind Mod4-Control-k resize up +$resizestep +hc keybind Mod4-Control-l resize right +$resizestep # tags tag_names=( {1..5} ) @@ -108,14 +101,14 @@ hc mousebind Mod4-Button2 zoom hc mousebind Mod4-Button3 resize # focus -hc keybind Mod4-BackSpace cycle_monitor -hc keybind Mod4-i jumpto urgent -hc keybind Mod4-m jumpto last-minimized +hc keybind Mod4-BackSpace cycle_monitor +hc keybind Mod4-i jumpto urgent +hc keybind Mod4-w jumpto last-minimized ## launchers #pass -hc keybind Mod4-x spawn ~/.config/herbstluftwm/pass.sh +hc keybind Mod4-x spawn ~/.config/herbstluftwm/pass.sh hc keybind Mod4-Shift-x spawn ~/.config/herbstluftwm/pass.sh -f #scrot-ing @@ -146,9 +139,6 @@ hc keybind Mod4-Shift-Control-w spawn alacritty -e ranger ~/projects/writin # grab colour to clipboard hc keybind Mod4-c spawn ~/.config/herbstluftwm/colourgrab.sh -# click -hc keybind Mod4-w spawn xdotool click 1 - # spawn hc keybind Mod4-Return spawn alacritty hc keybind Mod4-Shift-f spawn firejail --netfilter=/etc/firejail/nolocal.net firefox @@ -174,14 +164,14 @@ hc keybind Mod4-g spawn ~/.config/herbstluftwm/switcher.sh hc keybind XF86AudioLowerVolume spawn ~/.config/herbstluftwm/pvol.sh down hc keybind XF86AudioRaiseVolume spawn ~/.config/herbstluftwm/pvol.sh up -hc keybind XF86AudioMute spawn ~/.config/herbstluftwm/pvol.sh mute -hc keybind XF86AudioMicMute spawn ~/.config/herbstluftwm/pvol.sh +hc keybind XF86AudioMute spawn ~/.config/herbstluftwm/pvol.sh mute +hc keybind XF86AudioMicMute spawn ~/.config/herbstluftwm/pvol.sh # tunes -hc keybind Mod4-Up spawn ~/.config/herbstluftwm/mpc-status.sh -hc keybind Mod4-Down spawn mpc toggle +hc keybind Mod4-Up spawn ~/.config/herbstluftwm/mpc-status.sh +hc keybind Mod4-Down spawn mpc toggle hc keybind Mod4-Right spawn ~/.config/herbstluftwm/mpc-status.sh next -hc keybind Mod4-Left spawn ~/.config/herbstluftwm/mpc-status.sh prev +hc keybind Mod4-Left spawn ~/.config/herbstluftwm/mpc-status.sh prev ## end launchers @@ -214,7 +204,7 @@ if [[ $tablet_mode != "" ]]; then hc keybind XF86AudioRaiseVolume spawn ~/.config/herbstluftwm/backlight.sh hc keybind Mod4-bracketright spawn ~/.config/herbstluftwm/pvol.sh up - hc keybind Mod4-bracketleft spawn ~/.config/herbstluftwm/pvol.sh down + hc keybind Mod4-bracketleft spawn ~/.config/herbstluftwm/pvol.sh down fi diff --git a/.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/config.h b/.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/config.h new file mode 100644 index 0000000..cc55961 --- /dev/null +++ b/.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/config.h @@ -0,0 +1,11 @@ + +#pragma once + +#undef RGBLIGHT_ANIMATIONS +#define RGBLIGHT_EFFECT_BREATHING +#define RGBLIGHT_SPLIT + +#undef RGBLED_NUM +#define RGBLED_NUM 12 + +#define LAYER_STATE_8BIT diff --git a/.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/keymap.c b/.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/keymap.c new file mode 100644 index 0000000..76540c9 --- /dev/null +++ b/.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/keymap.c @@ -0,0 +1,87 @@ +#include QMK_KEYBOARD_H + +#define _BASE 0 +#define _QWERTY 1 +#define _FN 2 + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + +/* BASE + * ,------------------------------------------ ------------------------------------------. + * | Esc | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | - | + * |------+------+------+------+------+------+ +------+------+------+------+------+------| + * | Tab | Q | W | D | V | G | | X | T | I | O | U | Bksp | + * |------+------+------+------+------+------+ +------+------+------+------+------+------| + * | Ctrl | M | S | E | F | R | | H | J | K | L | ' | Enter| + * |------+------+------+------+------+------+ +------+------+------+------+------+------| + * | Shift| Z | B | C | A | Y | | P | N | , | . | / | Shift| + * |------+------+------+------+------+------+ +------+------+------+------+------+------| + * | FN | Alt | Super| Ctrl | Space | | Space | Ctrl | Super| Alt | FN | + * `------------------------------------------ ------------------------------------------' + */ +[_BASE] = LAYOUT( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, + KC_TAB, KC_Q, KC_W, KC_D, KC_V, KC_G, KC_X, KC_T, KC_I, KC_O, KC_U, KC_BSPC, + KC_LCTL, KC_M, KC_S, KC_E, KC_F, KC_R, KC_H, KC_J, KC_K, KC_L, KC_QUOT, KC_ENT, + KC_LSFT, KC_Z, KC_B, KC_C, KC_A, KC_Y, KC_P, KC_N, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, + MO(_FN), KC_LALT, KC_LGUI, KC_LCTL, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_RCTL, KC_RGUI, KC_RALT, MO(_FN) +), + +/* QWERTY + * ,------------------------------------------ ------------------------------------------. + * | | | | | | | | | | | | | | + * |------+------+------+------+------+------+ +------+------+------+------+------+------| + * | | Q | W | E | R | T | | Y | U | I | O | P | | + * |------+------+------+------+------+------+ +------+------+------+------+------+------| + * | | A | S | D | F | G | | H | J | K | L | | | + * |------+------+------+------+------+------+ +------+------+------+------+------+------| + * | | Z | X | C | V | B | | N | M | | | | | + * |------+------+------+------+------+------+ +------+------+------+------+------+------| + * | | | | | | | | | | | | + * `------------------------------------------ ------------------------------------------' + */ +[_QWERTY] = LAYOUT( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, _______, + _______, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, _______, _______, + _______, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ +), + +/* FN + * ,------------------------------------------ ------------------------------------------. + * | | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | ` | + * |------+------+------+------+------+------+ +------+------+------+------+------+------| + * | Caps | F11 | F12 | | | ScLk | | PScr | = | \ | [ | ] | Del | + * |------+------+------+------+------+------+ +------+------+------+------+------+------| + * | | VlDn | VlUp | Mute |Eject | | | Left | Down | Up |Right | ; | | + * |------+------+------+------+------+------+ +------+------+------+------+------+------| + * | | | | | | | | Home | PgDn | PgUp | End | | | + * |------+------+------+------+------+------+ +------+------+------+------+------+------| + * | | | | | | | | | | | | + * `------------------------------------------ ------------------------------------------' + */ +[_FN] = LAYOUT( + RGB_TOG, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_GRV, + KC_CAPS, KC_F11, KC_F12, _______, _______, KC_SCRL, KC_PSCR, KC_EQL, KC_BSLS, KC_LBRC, KC_RBRC, KC_DEL, + _______, KC_KB_VOLUME_DOWN, KC_KB_VOLUME_UP, KC_KB_MUTE, KC_MEDIA_EJECT, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, KC_SCLN, _______, + _______, _______, _______, _______, _______, _______, KC_HOME, KC_PAGE_DOWN, KC_PAGE_UP, KC_END, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ +), + +}; + + +const uint16_t PROGMEM combo_qwerty[] = { KC_LCTL, KC_RCTL, COMBO_END }; + +combo_t key_combos[] = { + COMBO(combo_qwerty, TG(_QWERTY)), +}; +uint16_t COMBO_LEN = sizeof(key_combos) / sizeof(combo_t); + + +void keyboard_post_init_user(void) { + rgblight_disable(); + rgblight_sethsv(148, 56, 71); + rgblight_mode(RGBLIGHT_MODE_BREATHING); +} diff --git a/.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/rules.mk b/.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/rules.mk new file mode 100644 index 0000000..ea3f311 --- /dev/null +++ b/.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/rules.mk @@ -0,0 +1,9 @@ +RGBLIGHT_ENABLE = yes +COMBO_ENABLE = yes + +MOUSEKEY_ENABLE = no +CONSOLE_ENABLE = no +SPACE_CADET_ENABLE = no +GRAVE_ESC_ENABLE = no + +LTO_ENABLE = yes -- cgit v1.2.3