about summary refs log tree commit diff
path: root/users/fcuny/desktop
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-14 17:26:07 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-14 17:26:07 -0800
commit2b494d94c898ff559956882ff6b691380d6cdab5 (patch)
tree96b73c8b35a908a76ddbbc535f184fb7ce5f4888 /users/fcuny/desktop
parentsway: set keyboard options (diff)
downloadworld-2b494d94c898ff559956882ff6b691380d6cdab5.tar.gz
sway: obviously, keyboard is an input ...
Diffstat (limited to '')
-rw-r--r--users/fcuny/desktop/sway/default.nix6
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";
         };
       };