use hyprland's animations instead of gtk css

should make things much smoother
This commit is contained in:
end-4
2024-04-05 06:08:13 +07:00
parent c5b2452d28
commit f1075bb960
7 changed files with 23 additions and 41 deletions
+1 -4
View File
@@ -61,10 +61,7 @@ const Windows = () => [
];
const CLOSE_ANIM_TIME = 210; // Longer than actual anim time to make sure widgets animate fully
const closeWindowDelays = { // For animations
'sideright': CLOSE_ANIM_TIME,
'sideleft': CLOSE_ANIM_TIME,
};
const closeWindowDelays = {}; // For animations
for(let i = 0; i < (Gdk.Display.get_default()?.get_n_monitors() || 1); i++) {
closeWindowDelays[`osk${i}`] = CLOSE_ANIM_TIME;
}