summaryrefslogtreecommitdiff
path: root/Omni/Dev
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2025-05-22 10:23:50 -0400
committerBen Sima <ben@bsima.me>2025-05-22 10:23:50 -0400
commit2bba78efc8a203785742355aa3f8852034e27e0d (patch)
treed68878ef809b9c69d17fc48e809ea5fdfce80fae /Omni/Dev
parenteb868d02e729f862903879d35696f760b75ef091 (diff)
Solidify Kensington trackball settings
I have this script I have to run on startup that sets these interactively, which is fine, but I haven't changed this script in like 3 years so lets just make it permanent at this point.
Diffstat (limited to 'Omni/Dev')
-rw-r--r--Omni/Dev/Beryllium/Configuration.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/Omni/Dev/Beryllium/Configuration.nix b/Omni/Dev/Beryllium/Configuration.nix
index 5c10b8c..3e39fe4 100644
--- a/Omni/Dev/Beryllium/Configuration.nix
+++ b/Omni/Dev/Beryllium/Configuration.nix
@@ -49,6 +49,16 @@ in {
services.xserver = {
layout = "us";
xkbVariant = "";
+ extraConfig = ''
+ Section "InputClass"
+ Identifier "Kensington Expert Mouse"
+ MatchProduct "Kensington Expert Mouse"
+ Option "ButtonMapping" "1 8 2 4 5 6 7 3 9"
+ Option "NaturalScrolling" "true"
+ Option "ScrollMethod" "button"
+ Option "ScrollButton" "3"
+ EndSection
+ '';
};
# Enable CUPS to print documents.