refactor:hypr&alacritty_config

This commit is contained in:
dichgrem
2025-07-24 21:23:02 +08:00
parent 12e5ab96f2
commit 76b04610ca
3 changed files with 98 additions and 65 deletions

View File

@@ -1,20 +1,33 @@
source = ~/.config/hypr/theme.conf
#animations {
# enabled = true
# bezier = liner, 1, 1, 1, 1
# bezier = overshot, 0.13, 0.99, 0.29, 1.1
# bezier = wind, 0.05, 0.9, 0.1, 1.05
# bezier = winIn, 0.1, 1.1, 0.1, 1.1
# animation = windows, 1, 6, wind, slide
# animation = windowsIn, 1, 7, winIn, slide
# animation = windowsOut, 1, 7, default, popin 80%
# animation = windowsMove, 1, 5, wind, slide
# animation = border, 1, 1, liner
# animation = fade, 1, 10, default
# animation = workspaces, 1, 8, default, slidefade 20%
# animation = specialWorkspaceIn, 1, 8, default, fade
# animation = specialWorkspaceOut, 1, 8, default, fade
#}
animations {
enabled = true
bezier = liner, 1, 1, 1, 1
bezier = overshot, 0.13, 0.99, 0.29, 1.1
enabled = yes
bezier = smooth, 0.1, 0.9, 0.2, 1.0
bezier = default, 0.25, 0.8, 0.5, 1
bezier = wind, 0.05, 0.9, 0.1, 1.05
bezier = winIn, 0.1, 1.1, 0.1, 1.1
animation = windows, 1, 6, wind, slide
animation = windowsIn, 1, 7, winIn, slide
animation = windowsOut, 1, 7, default, popin 80%
animation = windowsMove, 1, 5, wind, slide
animation = border, 1, 1, liner
animation = fade, 1, 10, default
animation = workspaces, 1, 8, default, slidefade 20%
animation = specialWorkspaceIn, 1, 8, default, fade
animation = specialWorkspaceOut, 1, 8, default, fade
animation = windowsIn, 1, 4, smooth, slide
animation = windowsOut, 1, 2, default, popin 80%
animation = windowsMove, 1, 4, wind, slide
animation = border, 1, 5, default
animation = workspacesIn, 1, 6, smooth, slide
animation = workspacesOut, 1, 6, smooth, slidefade 80%
}
@@ -51,10 +64,10 @@ env = XDG_SESSION_DESKTOP, Hyprland
general {
gaps_in = 1
gaps_out = 1
border_size = 1
border_size = 2
col.active_border = $lavender
col.inactive_border = $base
layout = hy3
layout = tile
}
@@ -101,34 +114,34 @@ misc {
}
plugin {
hy3 {
no_gaps_when_only = 1
node_collapse_policy = 1
group_inset = 10
tab_first_window = true
tabs {
col.active = rgb(b4befe)
col.active.border = rgb(313244)
col.active.text = rgb(181825)
col.inactive = rgb(181825)
col.inactive.border = rgb(313244)
col.inactive.text = rgb(b4befe)
col.urgent = rgb(f2cdcd)
col.urgent.border = rgb(313244)
col.urgent.text = rgb(181825)
from_top = false
height = 14
padding = 2
render_text = true
rounding = 6
text_center = true
text_font = Sarasa Gothic SC
text_height = 10
text_padding = 0
}
}
}
#plugin {
# hy3 {
# no_gaps_when_only = 1
# node_collapse_policy = 1
# group_inset = 10
# tab_first_window = true
# tabs {
# col.active = rgb(b4befe)
# col.active.border = rgb(313244)
# col.active.text = rgb(181825)
# col.inactive = rgb(181825)
# col.inactive.border = rgb(313244)
# col.inactive.text = rgb(b4befe)
# col.urgent = rgb(f2cdcd)
# col.urgent.border = rgb(313244)
# col.urgent.text = rgb(181825)
# from_top = false
# height = 14
# padding = 2
# render_text = true
# rounding = 6
# text_center = true
# text_font = Sarasa Gothic SC
# text_height = 10
# text_padding = 0
# }
# }
#}
xwayland {