Johan Rong 5 месяцев назад
Родитель
Сommit
6776c9aa91
2 измененных файлов с 11 добавлено и 0 удалено
  1. 9 0
      home/features/application/files.nix
  2. 2 0
      home/features/application/sway/default.nix

+ 9 - 0
home/features/application/files.nix

@@ -28,6 +28,7 @@
           jclone() {
             git clone https://github.com/johron/$1
           }
+          XCOMPOSEFILE=$HOME/.XCompose
         '';
       };
       kdeglobals = {
@@ -61,6 +62,14 @@
           MaximumRemoteSize=0
         '';
       };
+      xcompose = {
+        target = ".XCompose";
+        text = ''
+          include "%L"
+
+          <Multi_key> <comma> : "̨" U0328
+        '';
+      };
     };
   };
 }

+ 2 - 0
home/features/application/sway/default.nix

@@ -233,6 +233,8 @@ in
 
       exec swaybg -i "$HOME/Pictures/Backgrounds/reef-1920x1080-2.png" -m fill
 
+      input * xkb_options compose:rctrl
+
       exec_always {
         systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
         lxqt-policykit-agent