Skip to content

Commit

Permalink
Add user layout: adgai19
Browse files Browse the repository at this point in the history
  • Loading branch information
adgai19 authored and slotThe committed Aug 22, 2021
1 parent 256eaa5 commit bca89c6
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 0 deletions.
2 changes: 2 additions & 0 deletions keymap/user/adgai19/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Workman Layout
This folder contains [workman and workman-p layouts(https://workmanlayout.org/#introducing-the-workman-keyboard-layout)](]) based off of the ANSI template. The workman-p layer also has a numpad layer which can be assigned to any key of your choice.
49 changes: 49 additions & 0 deletions keymap/user/adgai19/workman-p.kbd
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@

(defcfg
input (device-file "/dev/input/by-id/usb-0c45_USB_Keyboard-event-kbd")
output (uinput-sink "KMonad kbd")
fallthrough true
cmp-seq ralt ;; Set the compose key to `RightAlt'

)


(defsrc
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
tab q w e r t y u i o p [ ] \
caps a s d f g h j k l ; ' ret
lsft z x c v b n m , . / rsft
lctl lmet lalt spc ralt rmet cmp rctl
)

(defalias num (layer-toggle numbers))
(defalias shft (layer-toggle shiftedWorkman))
(deflayer workman
caps f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
~ ! @ # $ % ^ & * \( \) - = bspc
tab q d r w b j f u p ; { } \
esc a s h t g y n e o i ' ret
@shft z x m c v k l , . / rsft
lctl lmet lalt spc ralt rmet cmp rctl
)

(deflayer shiftedWorkman
caps f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
tab Q D R W B J F U P ; [ ] \
esc A S H T G Y N E O I ' ret
lsft Z X M C V K L , . / rsft
lctl lmet lalt spc ralt rmet cmp rctl
)
(deflayer numbers
_ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ 7 8 9 _ _ _
_ _ _ _ _ _ _ _ 4 5 6 _ _
_ _ _ _ _ _ _ 0 1 2 3 _
_ _ _ _ _ _ _ _
)



32 changes: 32 additions & 0 deletions keymap/user/adgai19/workman.kbd
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@

(defcfg
input (device-file "/dev/input/by-id/usb-0c45_USB_Keyboard-event-kbd")
output (uinput-sink "KMonad kbd")
fallthrough true
cmp-seq ralt ;; Set the compose key to `RightAlt'

)


(defsrc
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
tab q w e r t y u i o p [ ] \
caps a s d f g h j k l ; ' ret
lsft z x c v b n m , . / rsft
lctl lmet lalt spc ralt rmet cmp rctl
)

(deflayer workman
caps f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
tab q d r w b j f u p ; [ ] \
esc a s h t g y n e o i ' ret
lsft z x m c v k l , . / rsft
lctl lmet lalt spc ralt rmet cmp rctl
)





0 comments on commit bca89c6

Please sign in to comment.