add japanese keyboard

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-12-11 15:32:12 -06:00
parent e9856ecd3d
commit 598ee77f6e
2 changed files with 15 additions and 2 deletions

View file

@ -58,6 +58,7 @@ in
keyboard = { keyboard = {
layouts = [ layouts = [
{ layout = "us"; } { layout = "us"; }
{ layout = "jp"; }
]; ];
options = [ "caps:escape" ]; options = [ "caps:escape" ];
}; };
@ -303,6 +304,7 @@ in
configFile = { configFile = {
kwalletrc.Wallet.Enabled = false; kwalletrc.Wallet.Enabled = false;
plasmanotifyrc.Notifications.PopupPosition = "TopRight"; plasmanotifyrc.Notifications.PopupPosition = "TopRight";
}; };
}; };
}; };

View file

@ -3,7 +3,13 @@ let
cfg = osConfig.ringofstorms.dePlasma; cfg = osConfig.ringofstorms.dePlasma;
inherit (lib) mkIf; inherit (lib) mkIf;
workspaces = builtins.genList (i: i + 1) 9; workspaces = builtins.genList (i: i + 1) 9;
workspaceLetters = [ "n" "m" "," "." "/" ]; workspaceLetters = [
"n"
"m"
","
"."
"/"
];
kwinWorkspace = builtins.listToAttrs ( kwinWorkspace = builtins.listToAttrs (
map (i: { map (i: {
name = "Switch to Desktop ${toString i}"; name = "Switch to Desktop ${toString i}";
@ -12,7 +18,10 @@ let
idx = i - 1; idx = i - 1;
in in
if idx < builtins.length workspaceLetters then if idx < builtins.length workspaceLetters then
[ "Meta+${toString i}" "Meta+${builtins.elemAt workspaceLetters idx}" ] [
"Meta+${toString i}"
"Meta+${builtins.elemAt workspaceLetters idx}"
]
else else
"Meta+${toString i}"; "Meta+${toString i}";
}) workspaces }) workspaces
@ -43,6 +52,8 @@ in
ksmserver = { ksmserver = {
"Lock Session" = "Meta+Shift+L"; "Lock Session" = "Meta+Shift+L";
}; };
"KDE Keyboard Layout Switcher"."Switch to Next Keyboard Layout" = "Meta+K";
}; };
# Custom hotkey commands # Custom hotkey commands