2024-11-19 14:20:00 +01:00
|
|
|
_: {
|
2024-11-04 12:35:21 +01:00
|
|
|
programs.hyprland.settings = {
|
|
|
|
#Decoration settings
|
|
|
|
decoration = {
|
2025-04-09 15:31:18 +02:00
|
|
|
rounding = 10;
|
|
|
|
rounding_power = 3;
|
2024-11-04 12:35:21 +01:00
|
|
|
blur = {
|
2025-05-05 11:07:09 +02:00
|
|
|
enabled = true;
|
2025-05-09 09:37:47 +02:00
|
|
|
xray = true;
|
2024-11-04 12:35:21 +01:00
|
|
|
size = 3;
|
|
|
|
passes = 2;
|
2024-08-28 13:52:43 +02:00
|
|
|
};
|
2024-11-04 12:35:21 +01:00
|
|
|
};
|
|
|
|
# Bezier curves for aninmations.
|
|
|
|
# Generate your own at https://www.cssportal.com/css-cubic-bezier-generator/
|
|
|
|
bezier = [
|
|
|
|
"dupa, 0.1, 0.9, 0.1, 1.05"
|
|
|
|
];
|
|
|
|
# Hyprland anomations, using the above bezier curves
|
|
|
|
animations = {
|
2025-04-09 15:31:18 +02:00
|
|
|
enabled = true;
|
2024-11-04 12:35:21 +01:00
|
|
|
};
|
2025-05-05 11:07:09 +02:00
|
|
|
animation = [
|
|
|
|
"windows, 1, 4, dupa, popin"
|
|
|
|
"windowsOut, 1, 4, dupa, slide"
|
|
|
|
"border, 1, 15, default"
|
|
|
|
"fade, 1, 10, default"
|
|
|
|
"workspaces, 1, 5, dupa, slidevert"
|
|
|
|
];
|
2024-08-28 13:52:43 +02:00
|
|
|
|
2024-11-04 12:35:21 +01:00
|
|
|
cursor = {
|
|
|
|
hide_on_key_press = true;
|
|
|
|
no_hardware_cursors = true;
|
|
|
|
};
|
2024-08-28 13:52:43 +02:00
|
|
|
|
2024-11-04 12:35:21 +01:00
|
|
|
misc = {
|
|
|
|
enable_swallow = true;
|
|
|
|
swallow_regex = "foot";
|
|
|
|
focus_on_activate = true;
|
2025-04-09 15:31:18 +02:00
|
|
|
|
2024-11-04 12:35:21 +01:00
|
|
|
vrr = 1;
|
|
|
|
vfr = true;
|
2025-04-09 15:31:18 +02:00
|
|
|
|
2024-11-04 12:35:21 +01:00
|
|
|
animate_manual_resizes = false;
|
|
|
|
animate_mouse_windowdragging = false;
|
|
|
|
force_default_wallpaper = 0;
|
2024-08-28 13:52:43 +02:00
|
|
|
};
|
2024-11-04 12:35:21 +01:00
|
|
|
|
|
|
|
# Window rules for some programs.
|
|
|
|
windowrulev2 = [
|
|
|
|
"float, class:^(Tor Browser)$"
|
|
|
|
"float, class:^(mpv)$"
|
|
|
|
"float, class:^(imv)$"
|
|
|
|
"float, title:^(Picture-in-Picture)$"
|
|
|
|
"float, title:^(.*)(Choose User Profile)(.*)$"
|
|
|
|
"float, title:^(blob:null/)(.*)$"
|
|
|
|
"float, class:^(xdg-desktop-portal-gtk)$"
|
|
|
|
"float, class:^(code), title: ^(Open*)"
|
|
|
|
"size 70% 70%, class:^(code), title: ^(Open*)"
|
|
|
|
"center, class: ^(code), title: ^(Open*)"
|
|
|
|
"float, class:^(org.keepassxc.KeePassXC)$"
|
|
|
|
];
|
2025-05-05 11:07:09 +02:00
|
|
|
|
|
|
|
layerrule = [
|
|
|
|
"blur, shell:launcher"
|
|
|
|
"ignorezero, shell:launcher"
|
|
|
|
"animation popin 90%, shell:launcher"
|
|
|
|
];
|
2024-08-28 13:52:43 +02:00
|
|
|
};
|
|
|
|
}
|