59 lines
1.4 KiB
Nix
59 lines
1.4 KiB
Nix
{ config, ... }:
|
|
{
|
|
|
|
# include hyprland configs
|
|
home.file.".config/hypr/graphics.conf".text = ''
|
|
# main monitors
|
|
monitor = eDP-1, 1920x1200@60, 760x1440, 1 # laptop (native: 2560x1600@60, preffered 1920x1200)
|
|
monitor = , preferred, 0x0, 1 # default resolution on any other screen
|
|
|
|
# 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
|
|
|
|
animation = windows, 1, 3, smoothIn,
|
|
animation = windowsOut, 1, 3, smoothOut,
|
|
animation = windowsMove, 1, 3, default
|
|
animation = border, 1, 10, default
|
|
animation = fade, 1, 5, smoothIn
|
|
animation = fadeDim, 1, 5, smoothIn
|
|
animation = workspaces, 1, 8, fade
|
|
}
|
|
|
|
# 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
|
|
}
|
|
'';
|
|
}
|