diff --git a/.config/hypr/animations.conf b/.config/hypr/animations.conf new file mode 100644 index 00000000..cdc05bd5 --- /dev/null +++ b/.config/hypr/animations.conf @@ -0,0 +1,19 @@ +animations { + enabled = true + + bezier = heavyOvershoot, 0.53, 0.51, 0.3, 1.22 + bezier = lightOvershoot, 0.33, 0.61, 0.63, 1.19 + bezier = smoothSnap, 0.32, 0.51, 0.44, 1 + bezier = smoothIn, 0.25, 1, 0.5, 1 + bezier = smoothOutOvershoot, 0.46, -0.25, 0.81, 0.51 + + animation = workspaces, 1, 2.5, heavyOvershoot, slidefade 30% + animation = specialWorkspace, 1, 2, smoothIn, slidefadevert -80% + animation = specialWorkspaceOut, 1, 1.7, smoothOutOvershoot, slidefadevert -80% + + animation = windows, 1, 2, smoothIn, slide right + animation = windowsMove, 1, 2, smoothSnap + animation = windowsOut, 1, 4, heavyOvershoot, popin 30% + + animation = fade, 1, 2, smoothIn +} diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 0c60fbc2..66450e08 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -1,7 +1,8 @@ +source = ~/.config/hypr/rules.conf source = ~/.config/hypr/local.conf source = ~/.config/hypr/binds.conf source = ~/.config/hypr/style.conf +source = ~/.config/hypr/animations.conf source = ~/.config/hypr/input.conf -source = ~/.config/hypr/rules.conf source = ~/.config/hypr/windows.conf source = ~/.config/hypr/startup.conf diff --git a/.config/hypr/rules.conf b/.config/hypr/rules.conf index 3a36618e..fde75e46 100644 --- a/.config/hypr/rules.conf +++ b/.config/hypr/rules.conf @@ -152,3 +152,4 @@ layerrule { } workspace = special:music, gapsout:5 400 400 400 +workspace = special:scratch, gapsout:20 20 20 20 diff --git a/.config/hypr/style.conf b/.config/hypr/style.conf index b7d7b2f3..4d2d7d10 100644 --- a/.config/hypr/style.conf +++ b/.config/hypr/style.conf @@ -91,22 +91,3 @@ exec = gsettings set org.gnome.desktop.interface monospace-font-name 'CaskaydiaC exec = gsettings set org.gnome.desktop.interface font-antialiasing 'rgba' exec = gsettings set org.gnome.desktop.interface font-hinting 'full' env XCURSOR_SIZE = 20 - -# Animations -animations { - enabled = true - - bezier = smooth, 0.3,0,0.5,1 - bezier = my, 0.34,0.77,0.74,1.47 - - animation = windows, 1, 2, smooth, slide right - animation = windowsOut, 1, 2, smooth, slide right - animation = windowsMove, 1, 3, smooth, slide - animation = border, 1, 2, smooth - animation = borderangle, 1, 8, smooth - animation = fade, 1, 2, my - animation = workspaces, 1, 1.7, smooth - animation = specialWorkspace, 1, 1.7, smooth, slidefadevert -50% - animation = layers, 1, 2, smooth, fade - animation = fadeLayers, 1, 2, smooth -} diff --git a/.nixos b/.nixos index deb94615..2e7fa85c 160000 --- a/.nixos +++ b/.nixos @@ -1 +1 @@ -Subproject commit deb946154f830d991fbfae13ba1de0a2d598a2e5 +Subproject commit 2e7fa85c5a840afcb2b4435c54cacf69042feac4 diff --git a/laptop-files/.config/hypr/local.conf b/laptop-files/.config/hypr/local.conf index fbe60382..67e4e6f3 100644 --- a/laptop-files/.config/hypr/local.conf +++ b/laptop-files/.config/hypr/local.conf @@ -8,3 +8,5 @@ input { exec-once = wpaperd -d # Wallpaper exec-once = way-edges # Screen Edge Shell + +workspace = special:music, gapsout:5 330 300 330 # bigger music workspace