mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
fix: update keyd setup
This commit is contained in:
parent
8bdd7c5448
commit
e3b550bd82
1 changed files with 4 additions and 4 deletions
|
|
@ -1,12 +1,12 @@
|
||||||
_: {
|
_: {
|
||||||
services.keyd = {
|
services.keyd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
keyboards.default = {
|
keyboards.mouse = {
|
||||||
ids = ["*"];
|
ids = [
|
||||||
|
"046d:c051:4ae65a29" # Work mouse
|
||||||
|
];
|
||||||
settings = {
|
settings = {
|
||||||
main = {
|
main = {
|
||||||
# Bind mouse-foward to meta+middlemouse if held
|
|
||||||
mouse2 = "timeout(mouse2, 150, M-middlemouse)";
|
|
||||||
# Bind mouse-back to meta if held
|
# Bind mouse-back to meta if held
|
||||||
mouse1 = "overload(meta, mouse1)";
|
mouse1 = "overload(meta, mouse1)";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue