feat(desktop): change bezier curve

This commit is contained in:
matt1432 2024-10-21 04:04:41 -04:00
parent 086144490b
commit b77a1696b3
5 changed files with 23 additions and 24 deletions
nixosModules/ags/v2
lib.ts
widgets/bar

View file

@ -1,6 +1,6 @@
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();
/* Types */

View file

@ -36,18 +36,18 @@
.occupied {
border: 2px solid $window_bg_color;
background: $accent_color;
transition: background-color 0.6s ease-in-out;
transition: background-color 0.3s ease-in-out;
}
.urgent {
border: 2px solid $window_bg_color;
background: red;
transition: background-color 0.6s ease-in-out;
transition: background-color 0.3s ease-in-out;
}
.active {
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);
}
}