2025-04-12 23:29:10 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
common,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
|
2025-04-12 19:45:01 +02:00
|
|
|
{
|
|
|
|
wayland.windowManager.hyprland.settings = {
|
2025-04-12 23:29:10 +02:00
|
|
|
monitor = lib.mkDefault [
|
2025-04-12 19:45:01 +02:00
|
|
|
"${common.monitor1}, 1920x1080@60.05, 0x0, 1"
|
|
|
|
];
|
|
|
|
|
|
|
|
# Autostart
|
|
|
|
exec-once = [
|
|
|
|
"hyprsunset -t 5000" # Set blue light filter
|
|
|
|
];
|
|
|
|
|
|
|
|
input = {
|
2025-04-13 11:42:39 +02:00
|
|
|
sensitivity = lib.mkDefault 0.4; # -1.0 - 1.0, 0 means no modification.
|
|
|
|
touchpad.natural_scroll = lib.mkDefault true;
|
2025-04-12 19:45:01 +02:00
|
|
|
};
|
|
|
|
|
2025-04-12 23:29:10 +02:00
|
|
|
gestures = lib.mkDefault {
|
2025-04-12 19:45:01 +02:00
|
|
|
workspace_swipe = true;
|
|
|
|
workspace_swipe_distance = 150;
|
|
|
|
workspace_swipe_min_speed_to_force = 0;
|
|
|
|
workspace_swipe_cancel_ratio = 0.5;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|