aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 19a2f98..6d60db4 100644
--- a/users/fcuny/desktop/sway/default.nix
+++ b/users/fcuny/desktop/sway/default.nix
@@ -17,8 +17,9 @@
];
home.sessionVariables = {
- MOZ_ENABLE_WAYLAND = true;
LIBSEAT_BACKEND = "logind";
+ MOZ_ENABLE_WAYLAND = true;
+ XDG_CURRENT_DESKTOP = "sway";
};
wayland.windowManager.sway = {
@@ -31,6 +32,9 @@
bars = [ ];
output = {
"*" = {
+ "xkb_layout" = "us,fr";
+ # map capslock to ctrl, and switch layout using shift+caps
+ "xkb_options" = "ctrl:nocaps,grp:shift_caps_toggle";
scale = "1.5";
};
};