2024-01-03 14:25:06 +01:00
|
|
|
{ theme, ... }: {
|
2024-01-03 15:14:05 +01:00
|
|
|
wayland.windowManager.hyprland = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
layerrule = "blur, waybar";
|
|
|
|
xwayland.force_zero_scaling = true;
|
|
|
|
general = {
|
|
|
|
gaps_in = "8";
|
|
|
|
gaps_out = "8";
|
|
|
|
border_size = "2";
|
|
|
|
resize_on_border = "true";
|
|
|
|
extend_border_grab_area = "15";
|
|
|
|
layout = "dwindle";
|
|
|
|
};
|
|
|
|
input = {
|
|
|
|
kb_layout = "us";
|
|
|
|
follow_mouse = "1";
|
|
|
|
touchpad = {
|
|
|
|
natural_scroll = true;
|
|
|
|
disable_while_typing = true;
|
|
|
|
tap-to-click = true;
|
|
|
|
clickfinger_behavior = true;
|
|
|
|
drag_lock = true;
|
|
|
|
};
|
|
|
|
sensitivity = 0;
|
|
|
|
};
|
|
|
|
gestures = {
|
|
|
|
workspace_swipe = true;
|
|
|
|
workspace_swipe_fingers = 3;
|
|
|
|
workspace_swipe_numbered = false;
|
|
|
|
};
|
|
|
|
misc = {
|
|
|
|
disable_hyprland_logo = true;
|
|
|
|
mouse_move_enables_dpms = true;
|
|
|
|
key_press_enables_dpms = true;
|
|
|
|
};
|
|
|
|
decoration = {
|
|
|
|
rounding = 5;
|
|
|
|
active_opacity = 0.8;
|
|
|
|
inactive_opacity = 0.6;
|
|
|
|
fullscreen_opacity = 1.0;
|
|
|
|
drop_shadow = true;
|
|
|
|
shadow_range = 4;
|
|
|
|
shadow_render_power = 3;
|
|
|
|
blur = {
|
|
|
|
size = 8;
|
|
|
|
passes = 3;
|
|
|
|
ignore_opacity = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
animations = {
|
|
|
|
enabled = true;
|
|
|
|
bezier = "myBezier, 0.05, 0.9, 0.1, 1.05";
|
|
|
|
animation = [
|
|
|
|
"windows,1,7,myBezier"
|
2024-01-03 15:41:42 +01:00
|
|
|
"windowsOut,1,7,default,popin 80%"
|
2024-01-03 15:14:05 +01:00
|
|
|
"border,1,10,default"
|
|
|
|
"borderangle,1,8,default"
|
|
|
|
"fade,1,7,default"
|
|
|
|
"workspaces,1,6,default"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
dwindle = {
|
|
|
|
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
|
|
|
pseudotile = true; # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
|
|
|
preserve_split = true;# you probably want this
|
|
|
|
no_gaps_when_only = 1;
|
|
|
|
};
|
|
|
|
master.new_is_master = true;
|
2024-01-04 14:40:07 +01:00
|
|
|
windowrule = [
|
|
|
|
"noblur,^(firefox)$" # disables blur for firefox
|
|
|
|
"opacity 1.0 override,^(firefox)$"
|
2024-01-04 14:49:47 +01:00
|
|
|
"noblur,^(steam)$" # disables blur for steam
|
|
|
|
"opacity 1.0 override,^(steam)$"
|
2024-01-04 14:40:07 +01:00
|
|
|
];
|
2024-01-03 14:25:06 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|