72 lines
1.9 KiB
Nix
72 lines
1.9 KiB
Nix
{
|
|
wayland.windowManager.hyprland.settings = {
|
|
monitor = [
|
|
"DP-3, 2560x1440@143.86, auto, auto"
|
|
"eDP-1,1920x1200@60.02,auto,1"
|
|
];
|
|
# Some default env vars.
|
|
# env = HYPRCURSOR_THEME,macOS
|
|
# env = HYPRCURSOR_SIZE,28
|
|
# env = XCURSOR_THEME,macOS
|
|
# env = XCURSOR_SIZE,28
|
|
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
|
input = {
|
|
follow_mouse = 1;
|
|
accel_profile = "flat";
|
|
sensitivity = 0; # -1.0 - 1.0, 0 means no modification.
|
|
|
|
touchpad = {
|
|
natural_scroll = true;
|
|
disable_while_typing = true;
|
|
clickfinger_behavior = true;
|
|
scroll_factor = 0.5;
|
|
};
|
|
};
|
|
# Desktop keyboard
|
|
device = [
|
|
{
|
|
name = "pfu-limited-hhkb-hybrid";
|
|
kb_layout = "hhkbse";
|
|
kb_options = "lv3:rwin_switch";
|
|
}
|
|
{
|
|
name = "hhkb-hybrid_1-keyboard";
|
|
kb_layout = "hhkbse";
|
|
kb_options = "lv3:rwin_switch";
|
|
}
|
|
# Laptop keyboard
|
|
{
|
|
name = "at-translated-set-2-keyboard";
|
|
kb_layout = "se";
|
|
kb_options = "ctrl:swapcaps";
|
|
}
|
|
];
|
|
gestures = {
|
|
workspace_swipe = true;
|
|
workspace_swipe_distance = 400;
|
|
workspace_swipe_fingers = 3;
|
|
workspace_swipe_cancel_ratio = 0.2;
|
|
workspace_swipe_min_speed_to_force = 5;
|
|
workspace_swipe_direction_lock = true;
|
|
workspace_swipe_direction_lock_threshold = 10;
|
|
workspace_swipe_create_new = true;
|
|
};
|
|
misc = {
|
|
vrr = 1;
|
|
mouse_move_enables_dpms = 1;
|
|
key_press_enables_dpms = 0;
|
|
force_default_wallpaper = 0;
|
|
disable_hyprland_logo = true;
|
|
disable_splash_rendering = true;
|
|
};
|
|
# xwayland {
|
|
# force_zero_scaling = true
|
|
# }
|
|
# cursor {
|
|
# no_hardware_cursors = true
|
|
# no_break_fs_vrr = true
|
|
# min_refresh_rate = 60
|
|
# }
|
|
};
|
|
}
|