From 8f4f229314b645ef2f729088300e802a91abfc63 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Thu, 25 Apr 2024 00:58:09 +0300 Subject: [PATCH] Keyd : Move macros to DRG app. --- module/common/Keyd.nix | 18 +----------------- user/common/keyd/default.nix | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/module/common/Keyd.nix b/module/common/Keyd.nix index 564cfc5..964b0ea 100644 --- a/module/common/Keyd.nix +++ b/module/common/Keyd.nix @@ -37,23 +37,7 @@ a = "previoussong"; }; - layer_macro = { - w = "macro(enter 10ms r enter)"; - a = "macro(enter 10ms N o enter)"; - s = "macro(enter 10ms W a i t enter)"; - d = "macro(enter 10ms Y e s enter)"; - q = "macro(enter 10ms S o r r y ! enter)"; - e = "macro(enter 10ms T h a n k s ! enter)"; - g = "macro(enter 10ms g g enter)"; - z = "macro(enter 10ms < space L e f t enter)"; - x = "macro(enter 10ms > space H e r e space < enter)"; - c = "macro(enter 10ms > space R i g h t enter)"; - r = "macro(enter 10ms N e e d space m o r e space a m m o enter)"; - t = "macro(enter 10ms M a y space I space t a k e space e x t r a ? enter)"; - f = "macro(enter 10ms A F K enter)"; - v = "macro(enter 10ms I space n e e d space h e l p ! enter)"; - b = "macro(enter 10ms I ' m space b a c k enter)"; - }; + layer_macro = {}; # Vacant layers. layer_rightalt = {}; diff --git a/user/common/keyd/default.nix b/user/common/keyd/default.nix index 220c4ab..5f0f8f7 100644 --- a/user/common/keyd/default.nix +++ b/user/common/keyd/default.nix @@ -15,5 +15,22 @@ alt.s = down alt.d = right alt.space = f6 + + [steam_app_548430] + control.w = macro(enter 10ms r enter) + control.a = macro(enter 10ms N o enter) + control.s = macro(enter 10ms W a i t enter) + control.d = macro(enter 10ms Y e s enter) + control.q = macro(enter 10ms S o r r y ! enter) + control.e = macro(enter 10ms T h a n k s ! enter) + control.g = macro(enter 10ms g g enter) + control.z = macro(enter 10ms < space L e f t enter) + control.x = macro(enter 10ms > space H e r e space < enter) + control.c = macro(enter 10ms > space R i g h t enter) + control.r = macro(enter 10ms N e e d space m o r e space a m m o enter) + control.t = macro(enter 10ms M a y space I space t a k e space e x t r a ? enter) + control.f = macro(enter 10ms A F K enter) + control.v = macro(enter 10ms I space n e e d space h e l p ! enter) + control.b = macro(enter 10ms I ' m space b a c k enter) ''; }