diff options
author | Vincent Ambo <mail@tazj.in> | 2021-12-24T19·28+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2021-12-24T19·33+0000 |
commit | 1935b416207360aea523521c8abb240970e44fbe (patch) | |
tree | 3eb3c1b700630ac1bb725f136ed11dab13e8de5f /users/tazjin/nixos/tverskoy | |
parent | 15a9443e3668fc164b1a61095e6a5f22ae48f6f0 (diff) |
feat(tazjin/emacs): Use Emacs input methods in X11 buffers r/3373
This is much easier than the shitty keyboard layout switcher which caused all kinds of terrifying bugs. Unfortunately the layout switcher remains additionally because this doesn't work with Quassel (Qt dropped support for XIM). Change-Id: I7c58cebf9391216b6e7134d8c283d52cb18332de Reviewed-on: https://cl.tvl.fyi/c/depot/+/3497 Tested-by: BuildkiteCI Autosubmit: tazjin <mail@tazj.in> Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'users/tazjin/nixos/tverskoy')
-rw-r--r-- | users/tazjin/nixos/tverskoy/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/users/tazjin/nixos/tverskoy/default.nix b/users/tazjin/nixos/tverskoy/default.nix index 7161fad58ea8..30aacacdf426 100644 --- a/users/tazjin/nixos/tverskoy/default.nix +++ b/users/tazjin/nixos/tverskoy/default.nix @@ -203,6 +203,14 @@ in lib.fix(self: { }; }; + # Set variables to enable EXWM-XIM + environment.sessionVariables = { + XMODIFIERS = "@im=exwm-xim"; + GTK_IM_MODULE = "xim"; + QT_IM_MODULE = "xim"; + CLUTTER_IM_MODULE = "xim"; + }; + # Automatically detect location to use for redshift location.provider = "geoclue2"; |