From 4a19e7ebdf9e718c0aa5abc85e835f80d0edb584 Mon Sep 17 00:00:00 2001 From: pika Date: Thu, 3 Apr 2025 00:04:37 +0200 Subject: [PATCH] addet animations? --- hyprland.conf | 120 ++++++++++++++++++++++++-------------------------- 1 file changed, 58 insertions(+), 62 deletions(-) diff --git a/hyprland.conf b/hyprland.conf index 44d9fcb..eee2848 100644 --- a/hyprland.conf +++ b/hyprland.conf @@ -14,6 +14,9 @@ source = $HOME/.monitors.conf # ╰──────────────────────────────────────────────────────────────────────────╯ $terminal = ghostty +# ─< workspaces >──────────────────────────────────────────────────────────────────────────── +workspace = special:magic, monitor:DP-2, on-created-empty:$terminal +# workspace = 0, monitor:HDMI-1 # ─< source hotkeys file for hyprland >────────────────────────────────────────────────────── source = $h_conf/hotkeys.conf @@ -21,6 +24,8 @@ source = $h_conf/hotkeys.conf # ─< initialisation script >───────────────────────────────────────────────────────────────── exec-once = $h_conf/.scripts/init.sh +exec-once = hypridle + exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # 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 = 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_PLATFORM,wayland;xcb @@ -44,12 +49,6 @@ env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 # ──────────────────────────────────────< windowrules >───────────────────────────────────── 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 │ # ╰───────────────╯ @@ -57,9 +56,9 @@ workspace = special:magic, monitor:DP-2, on-created-empty:$terminal # https://wiki.hyprland.org/Configuring/Variables/#general general { 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 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 { # enabled = yes -# -# bezier = myBezier, 0.05, 0.9, 0.1, 1.05 -# bezier = linear, 0.0, 0.0, 1.0, 1.0 -# bezier = wind, 0.05, 0.9, 0.1, 1.05 -# bezier = winIn, 0.1, 1.1, 0.1, 1.1 -# bezier = winOut, 0.3, -0.3, 0, 1 -# bezier = slow, 0, 0.85, 0.3, 1 -# bezier = overshot, 0.7, 0.6, 0.1, 1.1 -# bezier = bounce, 1.1, 1.6, 0.1, 0.85 -# bezier = sligshot, 1, -1, 0.15, 1.25 -# bezier = nice, 0, 6.9, 0.5, -4.20 -# -# 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 +# bezier = wind, 0.05, 0.9, 0.1, 1.05 +# bezier = winIn, 0.1, 1.1, 0.1, 1.1 +# bezier = winOut, 0.3, -0.3, 0, 1 +# bezier = liner, 1, 1, 1, 1 +# animation = windows, 1, 6, wind, slide +# animation = windowsIn, 1, 6, winIn, popin +# animation = windowsOut, 1, 5, winOut, slide +# animation = windowsMove, 1, 5, wind, slide +# # animation = border, 1, 1, liner +# # animation = borderangle, 1, 30, liner, loop +# animation = fade, 1, 10, default +# animation = workspaces, 1, 5, wind # } animations { - enabled = true - # Animation curves + enabled = true + # Animation curves - bezier = linear, 0, 0, 1, 1 - bezier = md3_standard, 0.2, 0, 0, 1 - bezier = md3_decel, 0.05, 0.7, 0.1, 1 - bezier = md3_accel, 0.3, 0, 0.8, 0.15 - bezier = overshot, 0.05, 0.9, 0.1, 1.1 - bezier = crazyshot, 0.1, 1.5, 0.76, 0.92 - bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0 - bezier = menu_decel, 0.1, 1, 0, 1 - bezier = menu_accel, 0.38, 0.04, 1, 0.07 - bezier = easeInOutCirc, 0.85, 0, 0.15, 1 - bezier = easeOutCirc, 0, 0.55, 0.45, 1 - bezier = easeOutExpo, 0.16, 1, 0.3, 1 - bezier = softAcDecel, 0.26, 0.26, 0.15, 1 - bezier = md2, 0.4, 0, 0.2, 1 # use with .2s duration - # Animation configs - animation = windows, 1, 3, md3_decel, popin 60% - animation = windowsIn, 1, 3, md3_decel, popin 60% - animation = windowsOut, 1, 3, md3_accel, popin 60% - animation = border, 1, 10, default - animation = fade, 1, 3, md3_decel - # animation = layers, 1, 2, md3_decel, slide - animation = layersIn, 1, 3, menu_decel, slide - animation = layersOut, 1, 1.6, menu_accel - animation = fadeLayersIn, 1, 2, menu_decel - animation = fadeLayersOut, 1, 4.5, menu_accel - animation = workspaces, 1, 7, menu_decel, slide - # animation = workspaces, 1, 2.5, softAcDecel, slide - # animation = workspaces, 1, 7, menu_decel, slidefade 15% - # animation = specialWorkspace, 1, 3, md3_decel, slidefadevert 15% - animation = specialWorkspace, 1, 3, md3_decel, slidevert + bezier = linear, 0, 0, 1, 1 + bezier = md3_standard, 0.2, 0, 0, 1 + bezier = md3_decel, 0.05, 0.7, 0.1, 1 + bezier = md3_accel, 0.3, 0, 0.8, 0.15 + bezier = overshot, 0.05, 0.9, 0.1, 1.1 + bezier = crazyshot, 0.1, 1.5, 0.76, 0.92 + bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0 + bezier = menu_decel, 0.1, 1, 0, 1 + bezier = menu_accel, 0.38, 0.04, 1, 0.07 + bezier = easeInOutCirc, 0.85, 0, 0.15, 1 + bezier = easeOutCirc, 0, 0.55, 0.45, 1 + bezier = easeOutExpo, 0.16, 1, 0.3, 1 + bezier = softAcDecel, 0.26, 0.26, 0.15, 1 + bezier = md2, 0.4, 0, 0.2, 1 # use with .2s duration + # Animation configs + animation = windows, 1, 3, md3_decel, popin 60% + animation = windowsIn, 1, 3, md3_decel, popin 60% + animation = windowsOut, 1, 3, md3_accel, popin 60% + animation = border, 1, 10, default + animation = fade, 1, 3, md3_decel + # animation = layers, 1, 2, md3_decel, slide + animation = layersIn, 1, 3, menu_decel, slide + animation = layersOut, 1, 1.6, menu_accel + animation = fadeLayersIn, 1, 2, menu_decel + animation = fadeLayersOut, 1, 0.5, menu_accel + animation = workspaces, 1, 7, menu_decel, slide + # animation = workspaces, 1, 2.5, softAcDecel, slide + # animation = workspaces, 1, 7, menu_decel, slidefade 15% + # animation = specialWorkspace, 1, 3, md3_decel, slidefadevert 15% + animation = specialWorkspace, 1, 3, md3_decel, slidevert } # https://wiki.hyprland.org/Configuring/Variables/#misc