From 2b494d94c898ff559956882ff6b691380d6cdab5 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 14 Feb 2022 17:26:07 -0800 Subject: sway: obviously, keyboard is an input ... --- users/fcuny/desktop/sway/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'users/fcuny') diff --git a/users/fcuny/desktop/sway/default.nix b/users/fcuny/desktop/sway/default.nix index 6d60db4..7720a3b 100644 --- a/users/fcuny/desktop/sway/default.nix +++ b/users/fcuny/desktop/sway/default.nix @@ -30,11 +30,15 @@ terminal = "${config.programs.alacritty.package}/bin/alacritty"; menu = "${pkgs.wofi}/bin/wofi -S run"; bars = [ ]; - output = { + input = { "*" = { "xkb_layout" = "us,fr"; # map capslock to ctrl, and switch layout using shift+caps "xkb_options" = "ctrl:nocaps,grp:shift_caps_toggle"; + }; + }; + output = { + "*" = { scale = "1.5"; }; }; -- cgit 1.4.1