From 9a31a521404b4169670b2e2b5cfe0052e111d9ef Mon Sep 17 00:00:00 2001 From: Stefan Ellmauthaler Date: Mon, 29 Aug 2022 10:55:29 +0200 Subject: [PATCH] Enable numlock on sway startup --- users/ellmau/sway.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/users/ellmau/sway.nix b/users/ellmau/sway.nix index 70331c3..67090d4 100644 --- a/users/ellmau/sway.nix +++ b/users/ellmau/sway.nix @@ -26,7 +26,7 @@ with lib; { ]; timeouts = [ { - timeout = 60; + timeout = 300; command = "swaylock -KfeFi ~/.background-image"; } ]; @@ -107,6 +107,9 @@ with lib; { }; bars = []; + input."*" = { + xkb_numlock = "enabled"; + }; }; extraConfig = '' input "type:keyboard" {