diff options
author | Franck Cuny <franck@fcuny.net> | 2022-02-14 17:26:07 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-02-14 17:26:07 -0800 |
commit | 2b494d94c898ff559956882ff6b691380d6cdab5 (patch) | |
tree | 96b73c8b35a908a76ddbbc535f184fb7ce5f4888 /users/fcuny | |
parent | sway: set keyboard options (diff) | |
download | world-2b494d94c898ff559956882ff6b691380d6cdab5.tar.gz |
sway: obviously, keyboard is an input ...
Diffstat (limited to 'users/fcuny')
-rw-r--r-- | users/fcuny/desktop/sway/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
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"; }; }; |