chore: hyprland keybindings
This commit is contained in:
@@ -89,7 +89,7 @@ in {
|
|||||||
force_zero_scaling = true;
|
force_zero_scaling = true;
|
||||||
};
|
};
|
||||||
input = {
|
input = {
|
||||||
kb_layout = "us";
|
kb_layout = "us,de";
|
||||||
kb_variant = "";
|
kb_variant = "";
|
||||||
kb_model = "";
|
kb_model = "";
|
||||||
kb_rules = "";
|
kb_rules = "";
|
||||||
@@ -151,7 +151,6 @@ in {
|
|||||||
];
|
];
|
||||||
|
|
||||||
device = [
|
device = [
|
||||||
# Alle normalen Keyboards explizit auf de setzen:
|
|
||||||
{
|
{
|
||||||
name = "video-bus";
|
name = "video-bus";
|
||||||
kb_layout = "de,us";
|
kb_layout = "de,us";
|
||||||
@@ -174,23 +173,28 @@ in {
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "keychron-keychron-k7";
|
name = "keychron-keychron-k7";
|
||||||
kb_layout = "us";
|
kb_layout = "us,de";
|
||||||
kb_options = "ctrl:nocaps";
|
kb_options = "ctrl:nocaps";
|
||||||
}
|
}
|
||||||
# Moonlander Sub-Devices bleiben us (erben global)
|
# Moonlander Sub-Devices bleiben us zuerst (de als zweites Layout):
|
||||||
{
|
{
|
||||||
name = "zsa-technology-labs-moonlander-mark-i-consumer-control";
|
name = "zsa-technology-labs-moonlander-mark-i-consumer-control";
|
||||||
kb_layout = "us";
|
kb_layout = "us,de";
|
||||||
kb_options = "ctrl:nocaps";
|
kb_options = "ctrl:nocaps";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "zsa-technology-labs-moonlander-mark-i-keyboard";
|
name = "zsa-technology-labs-moonlander-mark-i-keyboard";
|
||||||
kb_layout = "us";
|
kb_layout = "us,de";
|
||||||
kb_options = "ctrl:nocaps";
|
kb_options = "ctrl:nocaps";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "zsa-technology-labs-moonlander-mark-i-system-control";
|
name = "zsa-technology-labs-moonlander-mark-i-system-control";
|
||||||
kb_layout = "us";
|
kb_layout = "us,de";
|
||||||
|
kb_options = "ctrl:nocaps";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "asustek-computer-inc.-gz302ea-keyboard";
|
||||||
|
kb_layout = "de,us";
|
||||||
kb_options = "ctrl:nocaps";
|
kb_options = "ctrl:nocaps";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
@@ -487,6 +491,7 @@ in {
|
|||||||
(mkBinding (modKey "mouse_up") (focusWorkspace "e-1"))
|
(mkBinding (modKey "mouse_up") (focusWorkspace "e-1"))
|
||||||
(mkBindingWithOptions (modKey "mouse:272") "hl.dsp.window.drag()" {mouse = true;})
|
(mkBindingWithOptions (modKey "mouse:272") "hl.dsp.window.drag()" {mouse = true;})
|
||||||
(mkBindingWithOptions (modKey "mouse:273") "hl.dsp.window.resize()" {mouse = true;})
|
(mkBindingWithOptions (modKey "mouse:273") "hl.dsp.window.resize()" {mouse = true;})
|
||||||
|
(mkBinding (modKey "SPACE") (execCmd "hyprctl switchxkblayout current next"))
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user