addet animations?

This commit is contained in:
pika 2025-04-03 00:04:37 +02:00
parent 56f8c62bf1
commit 4a19e7ebdf

View file

@ -14,6 +14,9 @@ source = $HOME/.monitors.conf
# ╰──────────────────────────────────────────────────────────────────────────╯ # ╰──────────────────────────────────────────────────────────────────────────╯
$terminal = ghostty $terminal = ghostty
# ─< workspaces >────────────────────────────────────────────────────────────────────────────
workspace = special:magic, monitor:DP-2, on-created-empty:$terminal
# workspace = 0, monitor:HDMI-1
# ─< source hotkeys file for hyprland >────────────────────────────────────────────────────── # ─< source hotkeys file for hyprland >──────────────────────────────────────────────────────
source = $h_conf/hotkeys.conf source = $h_conf/hotkeys.conf
@ -21,6 +24,8 @@ source = $h_conf/hotkeys.conf
# ─< initialisation script >───────────────────────────────────────────────────────────────── # ─< initialisation script >─────────────────────────────────────────────────────────────────
exec-once = $h_conf/.scripts/init.sh exec-once = $h_conf/.scripts/init.sh
exec-once = hypridle
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
# See https://wiki.hyprland.org/Configuring/Environment-variables/ # See https://wiki.hyprland.org/Configuring/Environment-variables/
@ -30,7 +35,7 @@ exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CUR
env = XCURSOR_SIZE,16 env = XCURSOR_SIZE,16
env = HYPRCURSOR_THEME,catppuccin-mocha-dark-cursors env = HYPRCURSOR_THEME,catppuccin-mocha-dark-cursors
env = HYPRCURSOR_SIZE,28 env = HYPRCURSOR_SIZE,16
env = QT_QPA_PLATFORMTHEME,qt6ct # change to qt6ct if you have that env = QT_QPA_PLATFORMTHEME,qt6ct # change to qt6ct if you have that
env = QT_QPA_PLATFORM,wayland;xcb env = QT_QPA_PLATFORM,wayland;xcb
@ -44,12 +49,6 @@ env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
# ──────────────────────────────────────< windowrules >───────────────────────────────────── # ──────────────────────────────────────< windowrules >─────────────────────────────────────
windowrule = workspace special:windoof, title:^(.*[Ll]ooking [Gg]lass.*) windowrule = workspace special:windoof, title:^(.*[Ll]ooking [Gg]lass.*)
# ╭────────────╮
# │ workspaces │
# ╰────────────╯
workspace = special:magic, monitor:DP-2, on-created-empty:$terminal
# workspace = 0, monitor:HDMI-1
# ╭───────────────╮ # ╭───────────────╮
# │ LOOK AND FEEL │ # │ LOOK AND FEEL │
# ╰───────────────╯ # ╰───────────────╯
@ -57,9 +56,9 @@ workspace = special:magic, monitor:DP-2, on-created-empty:$terminal
# https://wiki.hyprland.org/Configuring/Variables/#general # https://wiki.hyprland.org/Configuring/Variables/#general
general { general {
gaps_in = 2 gaps_in = 2
gaps_out = 8 gaps_out = 4
border_size = 1 border_size = 2
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
col.active_border = rgba(ffffffe0) rgba(8f8f8fe0) 45deg col.active_border = rgba(ffffffe0) rgba(8f8f8fe0) 45deg
@ -93,65 +92,62 @@ decoration {
} }
} }
# https://wiki.hyprland.org/Configuring/Variables/#animations # ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█
# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
# animations { # animations {
# enabled = yes # enabled = yes
# # bezier = wind, 0.05, 0.9, 0.1, 1.05
# bezier = myBezier, 0.05, 0.9, 0.1, 1.05 # bezier = winIn, 0.1, 1.1, 0.1, 1.1
# bezier = linear, 0.0, 0.0, 1.0, 1.0 # bezier = winOut, 0.3, -0.3, 0, 1
# bezier = wind, 0.05, 0.9, 0.1, 1.05 # bezier = liner, 1, 1, 1, 1
# bezier = winIn, 0.1, 1.1, 0.1, 1.1 # animation = windows, 1, 6, wind, slide
# bezier = winOut, 0.3, -0.3, 0, 1 # animation = windowsIn, 1, 6, winIn, popin
# bezier = slow, 0, 0.85, 0.3, 1 # animation = windowsOut, 1, 5, winOut, slide
# bezier = overshot, 0.7, 0.6, 0.1, 1.1 # animation = windowsMove, 1, 5, wind, slide
# bezier = bounce, 1.1, 1.6, 0.1, 0.85 # # animation = border, 1, 1, liner
# bezier = sligshot, 1, -1, 0.15, 1.25 # # animation = borderangle, 1, 30, liner, loop
# bezier = nice, 0, 6.9, 0.5, -4.20 # animation = fade, 1, 10, default
# # animation = workspaces, 1, 5, wind
# animation = windowsIn, 1, 7, slow, popin
# animation = windowsOut, 1, 7, winOut, popin
# animation = windowsMove, 1, 7, wind, slide
# animation = border, 1, 10, linear
# # animation = borderangle, 1, 180, linear, loop #used by rainbow borders and rotating colors
# animation = fade, 1, 5, overshot
# animation = workspaces, 1, 7, wind
# animation = windows, 1, 7, bounce, popin
# } # }
animations { animations {
enabled = true enabled = true
# Animation curves # Animation curves
bezier = linear, 0, 0, 1, 1 bezier = linear, 0, 0, 1, 1
bezier = md3_standard, 0.2, 0, 0, 1 bezier = md3_standard, 0.2, 0, 0, 1
bezier = md3_decel, 0.05, 0.7, 0.1, 1 bezier = md3_decel, 0.05, 0.7, 0.1, 1
bezier = md3_accel, 0.3, 0, 0.8, 0.15 bezier = md3_accel, 0.3, 0, 0.8, 0.15
bezier = overshot, 0.05, 0.9, 0.1, 1.1 bezier = overshot, 0.05, 0.9, 0.1, 1.1
bezier = crazyshot, 0.1, 1.5, 0.76, 0.92 bezier = crazyshot, 0.1, 1.5, 0.76, 0.92
bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0 bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0
bezier = menu_decel, 0.1, 1, 0, 1 bezier = menu_decel, 0.1, 1, 0, 1
bezier = menu_accel, 0.38, 0.04, 1, 0.07 bezier = menu_accel, 0.38, 0.04, 1, 0.07
bezier = easeInOutCirc, 0.85, 0, 0.15, 1 bezier = easeInOutCirc, 0.85, 0, 0.15, 1
bezier = easeOutCirc, 0, 0.55, 0.45, 1 bezier = easeOutCirc, 0, 0.55, 0.45, 1
bezier = easeOutExpo, 0.16, 1, 0.3, 1 bezier = easeOutExpo, 0.16, 1, 0.3, 1
bezier = softAcDecel, 0.26, 0.26, 0.15, 1 bezier = softAcDecel, 0.26, 0.26, 0.15, 1
bezier = md2, 0.4, 0, 0.2, 1 # use with .2s duration bezier = md2, 0.4, 0, 0.2, 1 # use with .2s duration
# Animation configs # Animation configs
animation = windows, 1, 3, md3_decel, popin 60% animation = windows, 1, 3, md3_decel, popin 60%
animation = windowsIn, 1, 3, md3_decel, popin 60% animation = windowsIn, 1, 3, md3_decel, popin 60%
animation = windowsOut, 1, 3, md3_accel, popin 60% animation = windowsOut, 1, 3, md3_accel, popin 60%
animation = border, 1, 10, default animation = border, 1, 10, default
animation = fade, 1, 3, md3_decel animation = fade, 1, 3, md3_decel
# animation = layers, 1, 2, md3_decel, slide # animation = layers, 1, 2, md3_decel, slide
animation = layersIn, 1, 3, menu_decel, slide animation = layersIn, 1, 3, menu_decel, slide
animation = layersOut, 1, 1.6, menu_accel animation = layersOut, 1, 1.6, menu_accel
animation = fadeLayersIn, 1, 2, menu_decel animation = fadeLayersIn, 1, 2, menu_decel
animation = fadeLayersOut, 1, 4.5, menu_accel animation = fadeLayersOut, 1, 0.5, menu_accel
animation = workspaces, 1, 7, menu_decel, slide animation = workspaces, 1, 7, menu_decel, slide
# animation = workspaces, 1, 2.5, softAcDecel, slide # animation = workspaces, 1, 2.5, softAcDecel, slide
# animation = workspaces, 1, 7, menu_decel, slidefade 15% # animation = workspaces, 1, 7, menu_decel, slidefade 15%
# animation = specialWorkspace, 1, 3, md3_decel, slidefadevert 15% # animation = specialWorkspace, 1, 3, md3_decel, slidefadevert 15%
animation = specialWorkspace, 1, 3, md3_decel, slidevert animation = specialWorkspace, 1, 3, md3_decel, slidevert
} }
# https://wiki.hyprland.org/Configuring/Variables/#misc # https://wiki.hyprland.org/Configuring/Variables/#misc