Skip to content

Instantly share code, notes, and snippets.

@kohane27
kohane27 / kbd
Last active May 9, 2023 07:30
kanata.kbd
View kbd
(defcfg
linux-dev /dev/input/by-path/platform-i8042-serio-0-event-kbd
process-unmapped-keys yes
)
;; layers
(defalias
super (layer-toggle super)
alt_nav (layer-toggle alt_nav)
)
View gist:0c6088c8f146c9c8312061cd05b05dcc
local CONTEXT = 8
-- change line col text
-- 4 18 9 change one
-- 3 28 21 change two
-- 2 39 23 change three
-- 1 54 13 another change
local function get_text(changelist, current)
local width = 0