From d3a5ebc78019b40d75ab5fc5d38b161b2d452c8f Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Wed, 3 May 2023 17:27:48 +0400 Subject: [PATCH] Add ge layout --- profiles/workspace/sway/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/profiles/workspace/sway/default.nix b/profiles/workspace/sway/default.nix index e0d9b0a..d7aab23 100755 --- a/profiles/workspace/sway/default.nix +++ b/profiles/workspace/sway/default.nix @@ -101,6 +101,9 @@ in { "dbus-update-activation-environment --systemd WAYLAND_DISPLAY GDK_BACKEND"; } ]; + + bindkeysToCode = true; + modes = { normal = let @@ -207,6 +210,8 @@ in { "XF86AudioRaiseVolume" = "exec ${pkgs.pamixer}/bin/pamixer -i 2"; "XF86AudioMute" = "exec ${pkgs.pamixer}/bin/pamixer -t"; "button2" = "kill"; + "Next" = "input * xkb_layout 'us,ru'"; + "Prior" = "input * xkb_layout 'ge'"; } // builtins.listToAttrs (builtins.map (x: { name = "${builtins.elemAt x 0}"; value = "workspace ${builtins.elemAt x 1}";