From 35dfa261c770bdc5547f88aa045d2f03dcb5097b Mon Sep 17 00:00:00 2001 From: ElKowar <5300871+elkowar@users.noreply.github.com> Date: Sat, 18 Sep 2021 14:53:22 +0200 Subject: [PATCH] asdf --- kmonad/.config/kmonad/kmonad.kbd | 72 ++++++++++++++++++++++++++++++++ sway/.config/sway/config | 1 + 2 files changed, 73 insertions(+) create mode 100644 kmonad/.config/kmonad/kmonad.kbd diff --git a/kmonad/.config/kmonad/kmonad.kbd b/kmonad/.config/kmonad/kmonad.kbd new file mode 100644 index 0000000..4bdd0ed --- /dev/null +++ b/kmonad/.config/kmonad/kmonad.kbd @@ -0,0 +1,72 @@ +#| +(deflayer name + _ _ _ _ _ _ _ _ _ _ _ _ _ + _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + _ _ _ _ _ _ _ _ _ _ _ _ _ + _ _ _ _ _ _ _ _ _ _ _ _ _ _ + _ _ _ _ _ _ _ _ _ _ _ + ) + +-------------------------------------------------------------------------- |# + + +(defcfg + input (device-file "/dev/input/by-path/platform-i8042-serio-0-event-kbd") + output (uinput-sink "KMonad") + fallthrough true + allow-cmd true + ) + +(defsrc + esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 ssrq slck pause + grv 1 2 3 4 5 6 7 8 9 0 - = bspc ins home pgup + tab q w e r t y u i o p [ ] ret del end pgdn + caps a s d f g h j k l ; ' \ + lsft 102d z x c v b n m , . / rsft up + lctl lmet lalt spc ralt rctl cmp rctl left down rght + ) + +(deflayer base + esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 ssrq slck pause + grv 1 2 3 4 5 6 7 8 9 0 - = bspc ins home pgup + @tab q w e r t y u i o p [ + ret del end pgdn + @cps a s d f g h j k l ; ' \ + lsft 102d z x c v b n m , . / rsft up + lctl lmet lalt spc ralt ralt cmp rctl left down rght + ) + +(defalias + cps (tap-hold-next-release 200 esc (layer-toggle symbols)) + tab (tap-hold-next-release 200 tab (layer-toggle umls)) + s-sft (tap-hold-next-release 150 s lsft) + l-sft (tap-hold-next-release 150 l lsft) + + uml-a #(ralt " a) + uml-o #(ralt " o) + uml-u #(ralt " u) + uml-s #(ralt s s) + excl (around lsft 1) +) + + + + + +(deflayer symbols +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ +_ _ @excl " / \\ _ { [ ] } _ * _ _ _ _ +_ home $ \( \) end left down up right & % _ +_ _ _ delete ? ~ _ = # bspc _ _ _ _ +_ _ _ _ _ _ _ _ _ _ _ +) + +(deflayer umls + _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + _ _ _ _ _ _ _ @uml-u _ @uml-o _ _ _ _ _ _ _ + _ @uml-a @uml-s _ _ _ _ _ _ _ _ _ _ + _ _ _ _ _ _ _ _ _ _ _ _ _ _ + _ _ _ _ _ _ _ _ _ _ _ + ) diff --git a/sway/.config/sway/config b/sway/.config/sway/config index b06a49b..dc7efd7 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -38,6 +38,7 @@ exec swayidle -w \ before-sleep 'swaylock -f -c 000000' exec mako +exec libinput-gestures-setup start