1
1
Fork 0

Compare commits

..

No commits in common. "72f885ed26bdd57d8ec55a4173374e872c963f34" and "43763391e6144d9e9362b136000ece7470499750" have entirely different histories.

5 changed files with 49 additions and 34 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?ref=v0.10.1" // unstable "nixpkgs"; walker = flake "github:abenz1267/walker" // 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,16 +2585,15 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1732685903, "lastModified": 1732645327,
"narHash": "sha256-0knpNVmMhgeu99gZmMtfQFsrrsGNSMBWUFo3inCIOms=", "narHash": "sha256-OuvYtemW3WHFKN7yKKGpZmSVmIwg78fgGRKvNgA+LIo=",
"owner": "abenz1267", "owner": "abenz1267",
"repo": "walker", "repo": "walker",
"rev": "adc8265bd7f17fea727ee8fba767782f394788ac", "rev": "39ff811badd479eea42638c829005282f2501c2f",
"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?ref=v0.10.1"; url = "github:abenz1267/walker";
}; };
}; };
outputs = inputs: inputs.flakegen ./flake.in.nix inputs; outputs = inputs: inputs.flakegen ./flake.in.nix inputs;

View file

@ -247,36 +247,52 @@ 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...>
device = let # TODO: Combine same devices
# Combine duplicate devices into one attrset # FIXME: Hotplugging may result in different id
#?? (devices ["NAME"] {ATTRS}) device = [
devices = names: attrs: map (name: {inherit name;} // attrs) names; {
in name = "kensington-orbit-wireless-tb-mouse";
flatten [
(devices ["kensington-orbit-wireless-tb-mouse" "orbit-bt5.0-mouse"] {
accel_profile = "adaptive"; accel_profile = "adaptive";
sensitivity = -0.6;
left_handed = true; left_handed = true;
middle_button_emulation = true; middle_button_emulation = true;
natural_scroll = true; natural_scroll = true;
sensitivity = -0.6; }
})
(devices ["logitech-m570"] { {
name = "orbit-bt5.0-mouse";
accel_profile = "adaptive";
sensitivity = -0.6;
left_handed = true;
middle_button_emulation = true;
natural_scroll = true;
}
{
name = "logitech-m570";
accel_profile = "custom 1 0 1 3"; accel_profile = "custom 1 0 1 3";
sensitivity = -0.2; sensitivity = -0.2;
}) }
(devices ["nordic-2.4g-wireless-receiver-mouse" "protoarc-em11-nl-mouse"] { {
name = "nordic-2.4g-wireless-receiver-mouse";
sensitivity = -0.7; sensitivity = -0.7;
}) }
(devices ["razer-razer-viper-ultimate" "razer-razer-viper-ultimate-dongle"] { {
name = "protoarc-em11-nl-mouse";
sensitivity = -0.7; sensitivity = -0.7;
}) }
(devices ["wireless-controller-touchpad"] { {
name = "razer-razer-viper-ultimate-dongle";
sensitivity = -0.7;
}
{
name = "wireless-controller-touchpad";
enabled = false; 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.enabled = false; actions = false;
hide_actions_with_empty_query = true; hide_actions_with_empty_query = true;
placeholder = ""; placeholder = "";