add japanese keyboard
This commit is contained in:
parent
e9856ecd3d
commit
598ee77f6e
2 changed files with 15 additions and 2 deletions
|
|
@ -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";
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue