mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 01:34:08 -05:00
keyd properly setup now
This commit is contained in:
parent
298e59707e
commit
21f6b9f7ae
3 changed files with 23 additions and 50 deletions
|
|
@ -55,31 +55,31 @@
|
|||
# Configure pulseaudio
|
||||
hardware.pulseaudio.enable = lib.mkDefault true;
|
||||
services.pipewire.enable = false;
|
||||
services.keyd = {
|
||||
enable = true;
|
||||
keyboards.default = {
|
||||
ids = [ "*" ];
|
||||
settings = {
|
||||
main = {
|
||||
capslock = "layer(l2)";
|
||||
};
|
||||
l2 = {
|
||||
w = "up";
|
||||
a = "left";
|
||||
s = "down";
|
||||
d = "right";
|
||||
services.keyd = {
|
||||
enable = true;
|
||||
keyboards.default = {
|
||||
ids = [ "*" ];
|
||||
settings = {
|
||||
main = {
|
||||
capslock = "layer(l2)";
|
||||
};
|
||||
l2 = {
|
||||
w = "up";
|
||||
a = "left";
|
||||
s = "down";
|
||||
d = "right";
|
||||
|
||||
b = "C-b";
|
||||
b = "C-b";
|
||||
|
||||
space = "playpause";
|
||||
"." = "nextsong";
|
||||
"," = "prevsong";
|
||||
space = "playpause";
|
||||
"." = "nextsong";
|
||||
"," = "prevsong";
|
||||
|
||||
escape = "~";
|
||||
home = "end";
|
||||
};
|
||||
};
|
||||
};
|
||||
}:
|
||||
escape = "~";
|
||||
home = "end";
|
||||
};
|
||||
};
|
||||
};
|
||||
}:
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@
|
|||
homeDirectory = "/home/crow";
|
||||
stateVersion = "24.05";
|
||||
file.".config/hypr/hyprland.conf".source = ./hyprland.conf;
|
||||
file."/etc/keyd/default.conf".source = ./keyd.conf;
|
||||
};
|
||||
|
||||
xdg = {
|
||||
|
|
|
|||
|
|
@ -1,26 +0,0 @@
|
|||
[ids]
|
||||
|
||||
*
|
||||
|
||||
[main]
|
||||
|
||||
capslock = layer(l2)
|
||||
|
||||
[l2]
|
||||
|
||||
w = up
|
||||
s = down
|
||||
a = left
|
||||
d = right
|
||||
|
||||
b = C-b
|
||||
|
||||
space = playpause
|
||||
. = nextsong
|
||||
, = previoussong
|
||||
|
||||
[ = delete
|
||||
] = end
|
||||
escape = ~
|
||||
|
||||
home = end
|
||||
Loading…
Add table
Add a link
Reference in a new issue