2024-03-24 20:51:24 +01:00
|
|
|
{ config, ... }:
|
|
|
|
{
|
|
|
|
|
|
|
|
# include hyprland configs
|
|
|
|
home.file.".config/hypr/graphics.conf".text = ''
|
2024-03-25 16:10:48 +01:00
|
|
|
# main monitors
|
2024-05-02 11:48:58 +02:00
|
|
|
monitor = eDP-1, 1920x1200@60, 760x1440, 1 # laptop (native: 2560x1600@60, preffered 1920x1200)
|
|
|
|
monitor = HDMI-A-1, 1920x1080@60, 0x0, 1 # force 1080p on hdmi output
|
|
|
|
monitor = , preferred, 0x0, 1 # default resolution on any other screen
|
2024-03-24 20:51:24 +01:00
|
|
|
|
|
|
|
# unscale xwayland
|
|
|
|
xwayland {
|
|
|
|
force_zero_scaling = true
|
|
|
|
}
|
|
|
|
|
|
|
|
# animation section
|
|
|
|
animations {
|
|
|
|
enabled = yes
|
|
|
|
|
|
|
|
bezier = fade, 0.05, 1, 0.1, 1
|
|
|
|
bezier = smoothOut, 0.36, 0, 0.66, 1
|
|
|
|
bezier = smoothIn, 0.25, 1, 0.5, 1
|
2024-06-03 18:26:53 +02:00
|
|
|
bezier = liner, 1, 1, 1, 1
|
|
|
|
|
|
|
|
animation = windows, 1, 3, smoothIn,
|
|
|
|
animation = windowsOut, 1, 3, smoothOut,
|
|
|
|
animation = windowsMove, 1, 3, default
|
|
|
|
animation = border, 1, 10, default
|
|
|
|
animation = borderangle, 1, 45, liner, loop
|
|
|
|
animation = fade, 1, 5, smoothIn
|
|
|
|
animation = fadeDim, 1, 5, smoothIn
|
|
|
|
animation = workspaces, 1, 8, fade
|
2024-03-24 20:51:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
# decoration section
|
|
|
|
decoration {
|
|
|
|
|
|
|
|
# blur
|
|
|
|
blur {
|
|
|
|
enabled = true
|
|
|
|
size = 2
|
|
|
|
passes = 2
|
|
|
|
}
|
|
|
|
|
|
|
|
# windows
|
|
|
|
rounding = 16
|
|
|
|
|
|
|
|
# shadows
|
|
|
|
drop_shadow = true
|
|
|
|
shadow_offset = 2 2
|
|
|
|
shadow_range = 8
|
|
|
|
shadow_render_power = 2
|
|
|
|
shadow_ignore_window = true
|
|
|
|
col.shadow = 0x66000000
|
|
|
|
|
|
|
|
# opacity
|
|
|
|
active_opacity = 1.0
|
|
|
|
inactive_opacity = 1.0
|
|
|
|
}
|
|
|
|
'';
|
|
|
|
}
|