mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-24 22:58:38 +01:00
dual-function-keys: Drop all binds except caps lock as ctrl/esc
This should help avoid surprises when using other computers and simplify things a bit. Note that super for the application launcher was cool but now I prioritize launching applications from ironbar instead.
This commit is contained in:
parent
a2f21d1eca
commit
120047d37d
@ -13,7 +13,7 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.modules.hardware = {
|
options.modules.hardware = {
|
||||||
keyboardBinds = mkEnableOption "start button for rofi, caps lock as escape, etc.";
|
keyboardBinds = mkEnableOption "caps lock as ctrl when held and esc when tapped";
|
||||||
mouseSettings = mkEnableOption "piper for gaming mice";
|
mouseSettings = mkEnableOption "piper for gaming mice";
|
||||||
bluetooth = mkEnableOption "bluetooth support";
|
bluetooth = mkEnableOption "bluetooth support";
|
||||||
lidIgnore = mkEnableOption "ignoring the laptop lid on close";
|
lidIgnore = mkEnableOption "ignoring the laptop lid on close";
|
||||||
@ -67,26 +67,6 @@ in
|
|||||||
TAP = "KEY_ESC";
|
TAP = "KEY_ESC";
|
||||||
HOLD = "KEY_LEFTCTRL";
|
HOLD = "KEY_LEFTCTRL";
|
||||||
}
|
}
|
||||||
{
|
|
||||||
KEY = "KEY_SYSRQ";
|
|
||||||
TAP = "KEY_SYSRQ";
|
|
||||||
HOLD = "KEY_RIGHTMETA";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
KEY = "KEY_LEFTMETA";
|
|
||||||
TAP = "KEY_FAVORITES";
|
|
||||||
HOLD = "KEY_LEFTMETA";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
KEY = "KEY_RIGHTSHIFT";
|
|
||||||
TAP = "KEY_MESSENGER";
|
|
||||||
HOLD = "KEY_RIGHTSHIFT";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
KEY = "KEY_RIGHTALT";
|
|
||||||
TAP = "KEY_GRAVE";
|
|
||||||
HOLD = "KEY_RIGHTALT";
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user