This commit is contained in:
pika 2025-05-02 13:59:47 +02:00
parent 09a4e1e9f8
commit f246ab7817
2 changed files with 17 additions and 78 deletions

View file

@ -19,7 +19,7 @@ $h_conf = ~/.config/hypr
#╰───────────────────────────────────────────────────────────────────────────╯
source = $HOME/.monitors.conf
# variable for specialworkspace (has to be configured in .monitors.conf like -> 'workspace = name:x, on-created-empty:$terminal')
$terminal = ghostty
$terminal = foot
# $secondary = $main # <- Uncomment this, if you only have one monitor
# ─< main-workspaces >────────────────────────────────────────────────────────────────────────────
@ -38,14 +38,11 @@ workspace = 69, monitor:$main, persistent:true, allow-tearing:true, gapsin:0, ga
# ────────────────────────────────────────< specials >────────────────────────────────────────
workspace = special:magic, monitor:$main, on-created-empty:$terminal, border:0
# workspace = 0, monitor:HDMI-1
# ─< source hotkeys file for hyprland >──────────────────────────────────────────────────────
source = $h_conf/hotkeys.conf
# ─< initialisation script >─────────────────────────────────────────────────────────────────
exec-once = $h_conf/.scripts/init.sh
exec-once = $h_conf/.scripts/dynamic-borders.sh
exec-once = hypridle
@ -81,9 +78,9 @@ windowrule = workspace 69, title:^(.*GDLauncher.*)
# https://wiki.hyprland.org/Configuring/Variables/#general
general {
gaps_in = 1
gaps_out = 2
gaps_out = 4
border_size = 2
border_size = 1
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
col.active_border = rgba(ffffffe0) rgba(8f8f8fe0) 45deg
@ -114,12 +111,12 @@ windowrule = immediate, class:^(GDLauncher)$
# https://wiki.hyprland.org/Configuring/Variables/#decoration
decoration {
rounding = 0
rounding_power = 0
rounding_power = 10
# Change transparency of focused and unfocused windows
active_opacity = 0.98
# inactive_opacity = 0.284
# fullscreen_opacity = 1
fullscreen_opacity = 1
dim_inactive = true
dim_strength = 0.3
@ -137,64 +134,6 @@ decoration {
# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
# animations {
# enabled = yes
# 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
# 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
# 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
#
# animation = specialWorkspace, 1, 3, md3_decel, slidefadevert 15%
# # animation = specialWorkspace, 1, 3, md3_decel, slidevert
# }
# animations {
# enabled = true
# # Animation deepSeek
# # ==== Custom Bezier Curves ==== :cite[1]:cite[3]
# bezier = smoothElastic, 0.68, -0.55, 0.27, 1.55
# bezier = gentleBounce, 0.34, 1.56, 0.64, 1
# bezier = fluidMove, 0.4, 0, 0.2, 1
# bezier = quickPop, 0.25, 1.1, 0.5, 1
#
# # ==== Window Animations ====
# animation = windows, 1, 6, fluidMove, slide
# animation = windowsIn, 1, 6, smoothElastic, popin 85%
# animation = windowsOut, 1, 6, fluidMove, popin 90%
# animation = windowsMove, 1, 4, gentleBounce
#
# # ==== Workspace Transitions ====
# animation = workspaces, 1, 8, quickPop, slidefadevert 25%
# animation = specialWorkspace, 1, 7, smoothElastic, slidevert
#
# # ==== Layer Effects ====
# animation = layers, 1, 5, fluidMove
# animation = layersIn, 1, 5, smoothElastic, fade
# animation = layersOut, 1, 4, fluidMove, fade
#
# # ==== Fade Effects ====
# animation = fade, 1, 5, fluidMove
# animation = fadeDim, 1, 4, gentleBounce
# animation = fadeSwitch, 1, 3, quickPop
#
# # ==== Border Dynamics ====
# animation = border, 1, 3, fluidMove
# animation = borderangle, 1, 50, fluidMove, loop
# }
animations {
enabled = true
# Animation curves
@ -214,21 +153,21 @@ animations {
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 = windows, 1, 1, md3_decel, popin 60%
animation = windowsIn, 1, 1, md3_decel, popin 60%
animation = windowsOut, 1, 1, md3_accel, popin 60%
animation = border, 1, 1, default
animation = fade, 1, 1, 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 = layersIn, 1, 1, menu_decel, slide
animation = layersOut, 1, 1, menu_accel
animation = fadeLayersIn, 1, 1, menu_decel
animation = fadeLayersOut, 1, 1, menu_accel
animation = workspaces, 1, 1, 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
animation = specialWorkspace, 1, 1, md3_decel, slidevert
}
# https://wiki.hyprland.org/Configuring/Variables/#misc