2024-03-24 20:51:24 +01:00
|
|
|
{ config, ... }:
|
|
|
|
{
|
|
|
|
|
2024-06-04 11:54:06 +02:00
|
|
|
# hyprland general config
|
|
|
|
wayland.windowManager.hyprland.settings = {
|
|
|
|
|
|
|
|
monitor = [
|
2024-06-04 07:59:36 +02:00
|
|
|
|
2024-06-04 11:54:06 +02:00
|
|
|
# main monitors
|
|
|
|
"eDP-1, 1920x1200@60, 760x1440, 1"
|
|
|
|
"HDMI-A-1, 1920x1080@60, 0x0, 1"
|
|
|
|
", preferred, 0x0, 1"
|
|
|
|
|
|
|
|
];
|
2024-03-24 20:51:24 +01:00
|
|
|
|
|
|
|
# unscale xwayland
|
2024-06-04 11:54:06 +02:00
|
|
|
xwayland = {
|
|
|
|
force_zero_scaling = true;
|
|
|
|
};
|
2024-03-24 20:51:24 +01:00
|
|
|
|
|
|
|
# animation section
|
2024-06-04 11:54:06 +02:00
|
|
|
animations = {
|
|
|
|
enabled = true;
|
|
|
|
|
|
|
|
bezier = [
|
|
|
|
"fade, 0.05, 1, 0.1, 1"
|
|
|
|
"smoothOut, 0.36, 0, 0.66, 1"
|
|
|
|
"smoothIn, 0.25, 1, 0.5, 1"
|
|
|
|
"liner, 1, 1, 1, 1"
|
|
|
|
];
|
|
|
|
|
|
|
|
animation = [
|
|
|
|
"windows, 1, 3, smoothIn"
|
|
|
|
"windowsOut, 1, 3, smoothOut"
|
|
|
|
"windowsMove, 1, 3, default"
|
|
|
|
"border, 1, 10, default"
|
|
|
|
"borderangle, 1, 45, liner, loop"
|
|
|
|
"fade, 1, 5, smoothIn"
|
|
|
|
"fadeDim, 1, 5, smoothIn"
|
|
|
|
"workspaces, 1, 8, fade"
|
|
|
|
];
|
|
|
|
};
|
2024-03-24 20:51:24 +01:00
|
|
|
|
|
|
|
# decoration section
|
2024-06-04 11:54:06 +02:00
|
|
|
decoration = {
|
2024-03-24 20:51:24 +01:00
|
|
|
|
|
|
|
# blur
|
2024-06-04 11:54:06 +02:00
|
|
|
blur = {
|
|
|
|
enabled = true;
|
|
|
|
size = "2";
|
|
|
|
passes = "2";
|
|
|
|
};
|
2024-03-24 20:51:24 +01:00
|
|
|
|
|
|
|
# windows
|
2024-06-04 11:54:06 +02:00
|
|
|
rounding = "16";
|
2024-03-24 20:51:24 +01:00
|
|
|
|
|
|
|
# shadows
|
2024-06-04 11:54:06 +02:00
|
|
|
drop_shadow = true;
|
|
|
|
shadow_offset = "2 2";
|
|
|
|
shadow_range = "8";
|
|
|
|
shadow_render_power = "2";
|
|
|
|
shadow_ignore_window = true;
|
|
|
|
"col.shadow" = "0x66000000";
|
2024-03-24 20:51:24 +01:00
|
|
|
|
|
|
|
# opacity
|
2024-06-04 11:54:06 +02:00
|
|
|
active_opacity = "1.0";
|
|
|
|
inactive_opacity = "1.0";
|
|
|
|
};
|
|
|
|
};
|
2024-03-24 20:51:24 +01:00
|
|
|
}
|