2025-04-12 23:29:10 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
|
2025-04-12 19:45:01 +02:00
|
|
|
{
|
|
|
|
wayland.windowManager.hyprland.settings = {
|
2025-04-15 17:48:57 +02:00
|
|
|
monitor =
|
|
|
|
let
|
2025-04-15 18:22:06 +02:00
|
|
|
common = import ../../common.nix;
|
2025-04-15 17:48:57 +02:00
|
|
|
in
|
|
|
|
lib.mkForce [
|
|
|
|
"${common.monitor1}, 1920x1080@60.05, 0x0, 1"
|
|
|
|
];
|
2025-04-12 19:45:01 +02:00
|
|
|
|
|
|
|
# Autostart
|
|
|
|
exec-once = [
|
|
|
|
"hyprsunset -t 5000" # Set blue light filter
|
|
|
|
];
|
|
|
|
|
|
|
|
input = {
|
2025-04-16 13:50:22 +02:00
|
|
|
sensitivity = lib.mkForce 0.4; # -1.0 - 1.0, 0 means no modification.
|
|
|
|
touchpad.natural_scroll = lib.mkForce true;
|
2025-04-12 19:45:01 +02:00
|
|
|
};
|
|
|
|
|
2025-04-16 13:50:22 +02:00
|
|
|
gestures = {
|
|
|
|
workspace_swipe = lib.mkForce true;
|
|
|
|
workspace_swipe_distance = lib.mkForce 150;
|
|
|
|
workspace_swipe_min_speed_to_force = lib.mkForce 0;
|
|
|
|
workspace_swipe_cancel_ratio = lib.mkForce 0.5;
|
2025-04-12 19:45:01 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|