From b21bcf5e7a4465b68d3b50a24bd48f4d7d8a4815 Mon Sep 17 00:00:00 2001 From: kenji Date: Fri, 30 Jan 2026 20:10:32 -0600 Subject: [PATCH] fix(hypr): keyboard formatting fix --- apps/hyprland/hypr/input.nix | 3 ++- config.nix | 2 ++ modules/home/apps-optional.nix | 5 ++++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/apps/hyprland/hypr/input.nix b/apps/hyprland/hypr/input.nix index 05d480e..934f006 100644 --- a/apps/hyprland/hypr/input.nix +++ b/apps/hyprland/hypr/input.nix @@ -1,9 +1,10 @@ -{ +{myConfig, ...}: { wayland.windowManager.hyprland.settings = { input = { repeat_rate = 50; repeat_delay = 300; numlock_by_default = true; + kb_options = myConfig.hyprland.kb_options; }; cursor = { hide_on_key_press = false; diff --git a/config.nix b/config.nix index b4d7c2a..0e170f8 100644 --- a/config.nix +++ b/config.nix @@ -34,6 +34,7 @@ ]; wallpaper = "firewatch.png"; + kb_options = "altwin:swap_lalt_lwin"; }; firefox = { bookmarks = [ @@ -94,6 +95,7 @@ "eDP-1, highres, auto, 2" ]; wallpaper = "firewatch.png"; + kb_options = ""; }; firefox = { bookmarks = [ diff --git a/modules/home/apps-optional.nix b/modules/home/apps-optional.nix index 8706100..4bdf648 100644 --- a/modules/home/apps-optional.nix +++ b/modules/home/apps-optional.nix @@ -1,4 +1,4 @@ -{ +{pkgs, ...}: { imports = [ ../../apps/btop ../../apps/anki @@ -12,4 +12,7 @@ ../../apps/ttyper ../../apps/libreoffice ]; + home.packages = with pkgs; [ + chromium + ]; }