calcite: move input methods from hm to system config
This commit is contained in:
parent
1c40bbc98f
commit
0f4a315658
3 changed files with 22 additions and 12 deletions
|
@ -34,6 +34,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
resources
|
||||||
thunderbird
|
thunderbird
|
||||||
remmina
|
remmina
|
||||||
qq
|
qq
|
||||||
|
@ -56,17 +57,6 @@ in
|
||||||
|
|
||||||
xdg.enable = true;
|
xdg.enable = true;
|
||||||
|
|
||||||
i18n.inputMethod = {
|
|
||||||
enabled = "fcitx5";
|
|
||||||
fcitx5.addons = with pkgs; [ fcitx5-rime ];
|
|
||||||
};
|
|
||||||
|
|
||||||
# Using wayland
|
|
||||||
home.sessionVariables = {
|
|
||||||
GTK_IM_MODULE = lib.mkForce "";
|
|
||||||
QT_IM_MODULE = lib.mkForce "";
|
|
||||||
};
|
|
||||||
|
|
||||||
custom-hm = {
|
custom-hm = {
|
||||||
alacritty = {
|
alacritty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -105,6 +105,15 @@ in
|
||||||
LC_TIME = "en_US.utf8";
|
LC_TIME = "en_US.utf8";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
i18n.inputMethod = {
|
||||||
|
enable = true;
|
||||||
|
type = "fcitx5";
|
||||||
|
fcitx5 = {
|
||||||
|
addons = [ pkgs.fcitx5-rime ];
|
||||||
|
waylandFrontend = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# ====== GUI ======
|
# ====== GUI ======
|
||||||
|
|
||||||
programs.niri.enable = true;
|
programs.niri.enable = true;
|
||||||
|
@ -113,7 +122,7 @@ in
|
||||||
|
|
||||||
catppuccin = {
|
catppuccin = {
|
||||||
enable = true;
|
enable = true;
|
||||||
accent = "rosewater";
|
accent = "peach";
|
||||||
flavor = "mocha";
|
flavor = "mocha";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,17 @@ in
|
||||||
};
|
};
|
||||||
xdg.configFile."zellij/config.kdl".text = ''
|
xdg.configFile."zellij/config.kdl".text = ''
|
||||||
keybinds {
|
keybinds {
|
||||||
|
shared {
|
||||||
|
bind "F1" { GoToTab 1; SwitchToMode "Normal"; }
|
||||||
|
bind "F2" { GoToTab 2; SwitchToMode "Normal"; }
|
||||||
|
bind "F3" { GoToTab 3; SwitchToMode "Normal"; }
|
||||||
|
bind "F4" { GoToTab 4; SwitchToMode "Normal"; }
|
||||||
|
bind "F5" { GoToTab 5; SwitchToMode "Normal"; }
|
||||||
|
bind "F6" { GoToTab 6; SwitchToMode "Normal"; }
|
||||||
|
bind "F7" { GoToTab 7; SwitchToMode "Normal"; }
|
||||||
|
bind "F8" { GoToTab 8; SwitchToMode "Normal"; }
|
||||||
|
bind "F9" { GoToTab 9; SwitchToMode "Normal"; }
|
||||||
|
}
|
||||||
shared_except "pane" "locked" {
|
shared_except "pane" "locked" {
|
||||||
bind "Ctrl b" { SwitchToMode "Pane"; }
|
bind "Ctrl b" { SwitchToMode "Pane"; }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue