1
1
Fork 0

Compare commits

...

4 commits

Author SHA1 Message Date
72f885ed26
nix: unify hyprland devices
Signed-off-by: Myned <dev@bjork.tech>
2024-11-27 16:12:59 -06:00
57985b98a5
walker: update config
Signed-off-by: Myned <dev@bjork.tech>
2024-11-27 16:12:30 -06:00
24a4366c3d
nix: update flake.lock
Signed-off-by: Myned <dev@bjork.tech>
2024-11-27 16:11:47 -06:00
3eaf7234f8
walker: use static version
Signed-off-by: Myned <dev@bjork.tech>
2024-11-27 16:11:40 -06:00
5 changed files with 34 additions and 49 deletions

View file

@ -67,7 +67,7 @@
nix-flatpak = flake "github:gmodena/nix-flatpak?ref=v0.4.1"; nix-flatpak = flake "github:gmodena/nix-flatpak?ref=v0.4.1";
nix-vscode-extensions = flake "github:nix-community/nix-vscode-extensions" // unstable "nixpkgs"; nix-vscode-extensions = flake "github:nix-community/nix-vscode-extensions" // unstable "nixpkgs";
nixd = flake "github:nix-community/nixd" // unstable "nixpkgs"; nixd = flake "github:nix-community/nixd" // unstable "nixpkgs";
walker = flake "github:abenz1267/walker" // unstable "nixpkgs"; walker = flake "github:abenz1267/walker?ref=v0.10.1" // unstable "nixpkgs";
# Server flakes # Server flakes
conduwuit = flake "github:Myned/conduwuit" // unstable "nixpkgs"; conduwuit = flake "github:Myned/conduwuit" // unstable "nixpkgs";

7
flake.lock generated
View file

@ -2585,15 +2585,16 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1732645327, "lastModified": 1732685903,
"narHash": "sha256-OuvYtemW3WHFKN7yKKGpZmSVmIwg78fgGRKvNgA+LIo=", "narHash": "sha256-0knpNVmMhgeu99gZmMtfQFsrrsGNSMBWUFo3inCIOms=",
"owner": "abenz1267", "owner": "abenz1267",
"repo": "walker", "repo": "walker",
"rev": "39ff811badd479eea42638c829005282f2501c2f", "rev": "adc8265bd7f17fea727ee8fba767782f394788ac",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "abenz1267", "owner": "abenz1267",
"ref": "v0.10.1",
"repo": "walker", "repo": "walker",
"type": "github" "type": "github"
} }

View file

@ -130,7 +130,7 @@
}; };
walker = { walker = {
inputs.nixpkgs.follows = "nixpkgs-unstable"; inputs.nixpkgs.follows = "nixpkgs-unstable";
url = "github:abenz1267/walker"; url = "github:abenz1267/walker?ref=v0.10.1";
}; };
}; };
outputs = inputs: inputs.flakegen ./flake.in.nix inputs; outputs = inputs: inputs.flakegen ./flake.in.nix inputs;

View file

@ -247,53 +247,37 @@ in {
# https://wiki.hyprland.org/Configuring/Variables/#custom-accel-profiles # https://wiki.hyprland.org/Configuring/Variables/#custom-accel-profiles
# https://wayland.freedesktop.org/libinput/doc/latest/pointer-acceleration.html#the-custom-acceleration-profile # https://wayland.freedesktop.org/libinput/doc/latest/pointer-acceleration.html#the-custom-acceleration-profile
#?? custom <STEP> <POINTS...> #?? custom <STEP> <POINTS...>
# TODO: Combine same devices device = let
# FIXME: Hotplugging may result in different id # Combine duplicate devices into one attrset
device = [ #?? (devices ["NAME"] {ATTRS})
{ devices = names: attrs: map (name: {inherit name;} // attrs) names;
name = "kensington-orbit-wireless-tb-mouse"; in
accel_profile = "adaptive"; flatten [
sensitivity = -0.6; (devices ["kensington-orbit-wireless-tb-mouse" "orbit-bt5.0-mouse"] {
left_handed = true; accel_profile = "adaptive";
middle_button_emulation = true; left_handed = true;
natural_scroll = true; middle_button_emulation = true;
} natural_scroll = true;
sensitivity = -0.6;
})
{ (devices ["logitech-m570"] {
name = "orbit-bt5.0-mouse"; accel_profile = "custom 1 0 1 3";
accel_profile = "adaptive"; sensitivity = -0.2;
sensitivity = -0.6; })
left_handed = true;
middle_button_emulation = true;
natural_scroll = true;
}
{ (devices ["nordic-2.4g-wireless-receiver-mouse" "protoarc-em11-nl-mouse"] {
name = "logitech-m570"; sensitivity = -0.7;
accel_profile = "custom 1 0 1 3"; })
sensitivity = -0.2;
}
{ (devices ["razer-razer-viper-ultimate" "razer-razer-viper-ultimate-dongle"] {
name = "nordic-2.4g-wireless-receiver-mouse"; sensitivity = -0.7;
sensitivity = -0.7; })
}
{ (devices ["wireless-controller-touchpad"] {
name = "protoarc-em11-nl-mouse"; enabled = false;
sensitivity = -0.7; })
} ];
{
name = "razer-razer-viper-ultimate-dongle";
sensitivity = -0.7;
}
{
name = "wireless-controller-touchpad";
enabled = false;
}
];
}; };
}; };
} }

View file

@ -51,7 +51,7 @@ in {
builtins = { builtins = {
applications = { applications = {
# BUG: Ghost entries are still visible with single module # BUG: Ghost entries are still visible with single module
actions = false; actions.enabled = false;
hide_actions_with_empty_query = true; hide_actions_with_empty_query = true;
placeholder = ""; placeholder = "";