feat(desktop): change bezier curve
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
086144490b
commit
b77a1696b3
5 changed files with 23 additions and 24 deletions
|
@ -22,23 +22,21 @@ decoration {
|
||||||
animations {
|
animations {
|
||||||
enabled = yes
|
enabled = yes
|
||||||
|
|
||||||
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
# Fade out bezier
|
||||||
|
bezier = easeInExpo , 0.95 , 0.05, 0.795, 0.035
|
||||||
|
# Fade in bezier
|
||||||
|
bezier = easeOutExpo , 0.19 , 1 , 0.22 , 1
|
||||||
|
|
||||||
bezier = easeInBack, 0.36, 0, 0.66, -0.56
|
bezier = easeInOutQuart, 0.77 , 0 , 0.175, 1
|
||||||
bezier = easeOutBack, 0.34, 1.56, 0.64, 1
|
bezier = easeOutQuart , 0.165, 0.84, 0.44 , 1
|
||||||
bezier = softEaseOutBack, 0.34, 1.26, 0.64, 1
|
bezier = easeInQuart , 0.895, 0.03, 0.685, 0.22
|
||||||
|
|
||||||
animation = windows, 1, 7, myBezier
|
animation = windowsIn , 1, 4, easeOutQuart, slide
|
||||||
animation = windowsIn, 1, 7, easeOutBack, slide
|
animation = windowsOut , 1, 4, easeInQuart , slide
|
||||||
animation = windowsOut, 1, 7, easeInBack, slide
|
animation = windowsMove, 1, 4, easeOutQuart, slide
|
||||||
animation = windowsMove, 1, 7, easeOutBack, slide
|
|
||||||
|
|
||||||
animation = workspaces, 1, 6, softEaseOutBack, slide
|
animation = workspaces, 1, 6, easeOutQuart, slide
|
||||||
|
|
||||||
animation = fade, 1, 7, default
|
animation = fadeIn , 1, 10, easeOutExpo
|
||||||
animation = fadeIn, 1, 7, easeOutBack
|
animation = fadeOut, 1, 10, easeInExpo
|
||||||
animation = fadeOut, 1, 7, easeInBack
|
|
||||||
|
|
||||||
animation = border, 1, 10, default
|
|
||||||
animation = borderangle, 1, 8, default
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,6 +29,6 @@
|
||||||
|
|
||||||
.active {
|
.active {
|
||||||
border: 2px solid #50fa7b;
|
border: 2px solid #50fa7b;
|
||||||
transition: margin-left 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
|
transition: margin-left 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -145,13 +145,14 @@ in {
|
||||||
settings = {
|
settings = {
|
||||||
animations = {
|
animations = {
|
||||||
bezier = [
|
bezier = [
|
||||||
"easeInOutBack, 0.68, -0.6, 0.32, 1.6"
|
"easeInOutQuart, 0.77, 0 , 0.175, 1"
|
||||||
|
"easeInExpo , 0.95, 0.05, 0.795, 0.035"
|
||||||
];
|
];
|
||||||
|
|
||||||
animation = [
|
animation = [
|
||||||
"fadeLayersIn, 0"
|
"fadeLayersIn , 0"
|
||||||
"fadeLayersOut, 1, 3000, default"
|
"fadeLayersOut, 1, 3000, easeInExpo"
|
||||||
"layers, 1, 8, easeInOutBack, slide left"
|
"layers , 1, 4 , easeInOutQuart, slide left"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { Gdk } from 'astal/gtk3';
|
import { Gdk } from 'astal/gtk3';
|
||||||
import AstalHyprland from 'gi://AstalHyprland?version=0.1';
|
|
||||||
|
|
||||||
|
import AstalHyprland from 'gi://AstalHyprland?version=0.1';
|
||||||
const Hyprland = AstalHyprland.get_default();
|
const Hyprland = AstalHyprland.get_default();
|
||||||
|
|
||||||
/* Types */
|
/* Types */
|
||||||
|
|
|
@ -36,18 +36,18 @@
|
||||||
.occupied {
|
.occupied {
|
||||||
border: 2px solid $window_bg_color;
|
border: 2px solid $window_bg_color;
|
||||||
background: $accent_color;
|
background: $accent_color;
|
||||||
transition: background-color 0.6s ease-in-out;
|
transition: background-color 0.3s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.urgent {
|
.urgent {
|
||||||
border: 2px solid $window_bg_color;
|
border: 2px solid $window_bg_color;
|
||||||
background: red;
|
background: red;
|
||||||
transition: background-color 0.6s ease-in-out;
|
transition: background-color 0.3s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.active {
|
.active {
|
||||||
border: 2px solid #50fa7b;
|
border: 2px solid #50fa7b;
|
||||||
transition: margin-left 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
|
transition: margin-left 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue