summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorSaumit <justsaumit@protonmail.com>2024-09-01 12:30:20 +0530
committerSaumit <justsaumit@protonmail.com>2024-09-01 12:30:20 +0530
commit7c784e00cb013af8c4c00c71aa0cddcd82494a65 (patch)
tree2a783302c79cd8bad5ed35fcd516d250365f01de /.config
parentd45fc5ad1741afaf469565b9e2b142899d326fb1 (diff)
.config: Using input-remapper2 for caps-esc remapping than hyprland
Diffstat (limited to '.config')
-rw-r--r--.config/hypr/hyprland.conf2
-rw-r--r--.config/input-remapper-2/config.json4
-rw-r--r--.config/input-remapper-2/presets/AT Translated Set 2 keyboard/CAPS2ESC.json14
3 files changed, 19 insertions, 1 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf
index 714309e..1c5bfc1 100644
--- a/.config/hypr/hyprland.conf
+++ b/.config/hypr/hyprland.conf
@@ -28,7 +28,7 @@ input {
kb_layout = us
kb_variant =
kb_model =
- kb_options=caps:escape
+# kb_options=caps:escape
# kb_options=ctrl:nocaps
kb_rules =
diff --git a/.config/input-remapper-2/config.json b/.config/input-remapper-2/config.json
new file mode 100644
index 0000000..6ddd23b
--- /dev/null
+++ b/.config/input-remapper-2/config.json
@@ -0,0 +1,4 @@
+{
+ "version": "2.0.1",
+ "autoload": {}
+}
diff --git a/.config/input-remapper-2/presets/AT Translated Set 2 keyboard/CAPS2ESC.json b/.config/input-remapper-2/presets/AT Translated Set 2 keyboard/CAPS2ESC.json
new file mode 100644
index 0000000..1a3d98b
--- /dev/null
+++ b/.config/input-remapper-2/presets/AT Translated Set 2 keyboard/CAPS2ESC.json
@@ -0,0 +1,14 @@
+[
+ {
+ "input_combination": [
+ {
+ "type": 1,
+ "code": 58,
+ "origin_hash": "121bafca5e72bccfe428d54bfef7c15e"
+ }
+ ],
+ "target_uinput": "keyboard",
+ "output_symbol": "KEY_ESC",
+ "mapping_type": "key_macro"
+ }
+]