mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 10:08:11 +09:00
labwc
This commit is contained in:
+13
-31
@@ -1,5 +1,6 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
|
||||
services.hazkey.enable = true;
|
||||
|
||||
i18n.inputMethod = {
|
||||
@@ -8,6 +9,7 @@
|
||||
|
||||
fcitx5 = {
|
||||
waylandFrontend = true;
|
||||
|
||||
addons = with pkgs; [
|
||||
fcitx5-gtk
|
||||
kdePackages.fcitx5-qt
|
||||
@@ -17,14 +19,17 @@
|
||||
settings = {
|
||||
inputMethod = {
|
||||
GroupOrder."0" = "Default";
|
||||
|
||||
"Groups/0" = {
|
||||
Name = "Default";
|
||||
"Default Layout" = "jp";
|
||||
DefaultIM = "hazkey";
|
||||
};
|
||||
|
||||
"Groups/0/Items/0" = {
|
||||
Name = "keyboard-jp";
|
||||
};
|
||||
|
||||
"Groups/0/Items/1" = {
|
||||
Name = "hazkey";
|
||||
};
|
||||
@@ -38,37 +43,14 @@
|
||||
ModifierOnlyKeyTimeout = 250;
|
||||
};
|
||||
|
||||
"Hotkey/TriggerKeys" = {
|
||||
"1" = "Zenkaku_Hankaku";
|
||||
};
|
||||
|
||||
"Hotkey/ActivateKeys" = {
|
||||
"0" = "Henkan";
|
||||
};
|
||||
|
||||
"Hotkey/DeactivateKeys" = {
|
||||
"0" = "Muhenkan";
|
||||
};
|
||||
|
||||
"Hotkey/PrevPage" = {
|
||||
"0" = "Up";
|
||||
};
|
||||
|
||||
"Hotkey/NextPage" = {
|
||||
"0" = "Down";
|
||||
};
|
||||
|
||||
"Hotkey/PrevCandidate" = {
|
||||
"0" = "Shift+Tab";
|
||||
};
|
||||
|
||||
"Hotkey/NextCandidate" = {
|
||||
"0" = "Tab";
|
||||
};
|
||||
|
||||
"Hotkey/TogglePreedit" = {
|
||||
"0" = "Control+Alt+P";
|
||||
};
|
||||
"Hotkey/TriggerKeys"."1" = "Zenkaku_Hankaku";
|
||||
"Hotkey/ActivateKeys"."0" = "Henkan";
|
||||
"Hotkey/DeactivateKeys"."0" = "Muhenkan";
|
||||
"Hotkey/PrevPage"."0" = "Up";
|
||||
"Hotkey/NextPage"."0" = "Down";
|
||||
"Hotkey/PrevCandidate"."0" = "Shift+Tab";
|
||||
"Hotkey/NextCandidate"."0" = "Tab";
|
||||
"Hotkey/TogglePreedit"."0" = "Control+Alt+P";
|
||||
|
||||
Behavior = {
|
||||
ActiveByDefault = false;
|
||||
@@ -2,5 +2,5 @@
|
||||
{
|
||||
description = "Fcitx 5 input method framework with Hazkey Japanese input";
|
||||
|
||||
imports.nixos = [ inputs.nix-hazkey.nixosModules.hazkey ];
|
||||
imports.home = [ inputs.nix-hazkey.homeModules.hazkey ];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user