From 621a59fc90bd9e6e3a18126143361e758cb1f7ff Mon Sep 17 00:00:00 2001 From: Sense T Date: Fri, 14 Jul 2023 08:06:12 +0000 Subject: [PATCH] remap capslock to ctrl+space --- global/software-configuration.nix | 9 +++++++++ home/user/files/hyprland.conf | 3 +-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/global/software-configuration.nix b/global/software-configuration.nix index 6fb6603..210f90a 100644 --- a/global/software-configuration.nix +++ b/global/software-configuration.nix @@ -52,6 +52,15 @@ alsa.enable = true; pulse.enable = true; }; + + keyd = { + enable = true; + settings = { + main = { + capslock = "C-space"; + }; + }; + }; }; # List packages installed in system profile. To search, run: diff --git a/home/user/files/hyprland.conf b/home/user/files/hyprland.conf index e68fca3..46724c1 100644 --- a/home/user/files/hyprland.conf +++ b/home/user/files/hyprland.conf @@ -31,8 +31,7 @@ input { kb_layout = us kb_variant = kb_model = - # disable capslock - kb_options = caps:none + kb_options = kb_rules = follow_mouse = 1