From 4a7d1e9c62687cef9d41d1f61bd8966579095f0d Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sun, 28 Jul 2024 00:51:53 +0300 Subject: [PATCH] Sway : Add swaykbdd. --- home/config/sway/module/Input.nix | 3 +++ module/Sway.nix | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/home/config/sway/module/Input.nix b/home/config/sway/module/Input.nix index cc07650..1356c62 100644 --- a/home/config/sway/module/Input.nix +++ b/home/config/sway/module/Input.nix @@ -39,5 +39,8 @@ # Hide mouse cursor after a period of inactivity. seat seat0 hide_cursor ${toString config.setting.timeout.popup} + + # Per-window languages. + exec swaykbdd ''; } diff --git a/module/Sway.nix b/module/Sway.nix index ed5a574..7bc42fa 100644 --- a/module/Sway.nix +++ b/module/Sway.nix @@ -1,4 +1,4 @@ -{ lib, config, ... } @args: with lib; let +{ lib, config, pkgs, ... } @args: with lib; let cfg = config.module.desktop.sway; in { options = { @@ -28,6 +28,9 @@ in { base = true; gtk = true; }; + extraPackages = with pkgs; [ + swaykbdd + ]; }; }; }