From 067b9df895deceaedf0ff5f242aa0cfaf9cb2d53 Mon Sep 17 00:00:00 2001 From: takeokunn Date: Mon, 10 Jun 2024 01:31:23 +0900 Subject: [PATCH] Remove xkeysnail --- modules/xkeysnail/dot.config.py | 45 --------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 modules/xkeysnail/dot.config.py diff --git a/modules/xkeysnail/dot.config.py b/modules/xkeysnail/dot.config.py deleted file mode 100644 index bb82424..0000000 --- a/modules/xkeysnail/dot.config.py +++ /dev/null @@ -1,45 +0,0 @@ -# -*- coding: utf-8 -*- - -import re -from xkeysnail.transform import * - -define_conditional_modmap(re.compile(r'Firefox'), { - Key.CAPSLOCK: Key.LEFT_CTRL, -}) - -define_keymap(re.compile("Firefox"), { - # change tab - K("C-f"): K("C-Tab"), - K("C-b"): K("C-Shift-Tab"), - - # search - K("C-s"): K("C-f"), - K("C-s"): K("C-g"), - K("C-r"): K("C-Shift-g"), - - # private window - K("C-Shift-n"): K("C-Shift-p"), - - # up/down - K("C-n"): K("DOWN"), - K("C-p"): K("UP"), - K("C-v"): K("SPACE"), - - K("C-g"): { - # change page - K("C-b"): K("C-LEFT_BRACE"), - K("C-f"): K("C-RIGHT_BRACE"), - - # reload - K("C-r"): K("C-r"), - - # paste - K("C-v"): K("C-v"), - - # close - K("C-w"): K("C-w"), - - # close - K("C-t"): K("C-Shift-t"), - } -}, "Firefox")