Skip to content

Instantly share code, notes, and snippets.

View JanLunge's full-sized avatar

Jan Lunge JanLunge

  • Hamburg
  • 10:38 (UTC +01:00)
View GitHub Profile
@JanLunge
JanLunge / intervalkey.py
Created January 20, 2026 20:27
kmk interval key
# interval_f5.py
import time
from kmk.extensions import Extension
from kmk.keys import KC, make_key
from kmk.utils import Debug
debug = Debug(__name__)
# Create an INTERNAL keycode (never sent to host)
def _interval_toggle_handler(key, keyboard, kc, coord_int):
@JanLunge
JanLunge / karabiner.json
Created January 19, 2021 19:03
tab as control when held
{
"global": {
"check_for_updates_on_startup": true,
"show_in_menu_bar": true,
"show_profile_name_in_menu_bar": false
},
"profiles": [
{
"complex_modifications": {
"parameters": {