From d260f9a98cf91e7b72a9aee4e05bec782dae624b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Thu, 29 May 2025 09:52:45 +0200 Subject: [PATCH 1/3] feat: make keyboard layout better for helix --- machines/moritz-laptop/configuration.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/machines/moritz-laptop/configuration.nix b/machines/moritz-laptop/configuration.nix index 89903b2..0107bda 100644 --- a/machines/moritz-laptop/configuration.nix +++ b/machines/moritz-laptop/configuration.nix @@ -126,22 +126,21 @@ ;; caps-word tap-dance lsft (tap-dance 200 (_ (caps-word 2000) _ _)) + ;; switch to normal keyboard layout + lctl (layer-switch normal) + ;; change ctrl alt and meta - lctl lalt lmet lctl lalt (tap-dance 200 (lmet (multi lmet alt) lmet lmet)) + ralt lalt - ;; hjkl layer - ralt (tap-hold 200 200 (layer-switch hjkl) (layer-while-held hjkl)) ;; tap: switch hold: switch while held - - ;; switch to normal keyboard layout - rctl (layer-switch normal) + rctl (tap-hold 200 200 (layer-switch layer1) (layer-while-held layer1)) ) (deflayermap (normal) rctl (layer-switch default)) - (deflayermap (hjkl) + (deflayermap (layer1) h left j down k up From a5c2e845f1a7d5f603cfbe2b370da1c0426c51cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Thu, 29 May 2025 09:53:08 +0200 Subject: [PATCH 2/3] feat(niri): disable hot corners --- modules/moritz/programs/niri.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/moritz/programs/niri.nix b/modules/moritz/programs/niri.nix index c22077e..4e311e1 100644 --- a/modules/moritz/programs/niri.nix +++ b/modules/moritz/programs/niri.nix @@ -195,6 +195,7 @@ in { environment = { DISPLAY = ":0"; }; + gestures.hot-corners.enable = false; layout = { border.enable = false; focus-ring.enable = false; From e784c45b9f8c02d2031794a4c4e4a0afd7b5ec9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Thu, 29 May 2025 09:53:26 +0200 Subject: [PATCH 3/3] feat: use kagi as start page --- modules/moritz/profiles/personal.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/moritz/profiles/personal.nix b/modules/moritz/profiles/personal.nix index 1af362d..4fac8e7 100644 --- a/modules/moritz/profiles/personal.nix +++ b/modules/moritz/profiles/personal.nix @@ -26,8 +26,9 @@ in { "browser.search.suggest.enabled" = true; "browser.urlbar.suggest.searches" = true; - # Restore previous session on startup - "browser.startup.page" = 3; + # Open Kagi + "browser.startup.homepage" = "https://kagi.com"; + "browser.startup.page" = 1; # drm "media.eme.enabled" = true;