Files
hypr/config/theme.lua
T
2026-06-14 18:49:46 +02:00

132 lines
3.4 KiB
Lua

hl.config({
general = {
border_size = 1,
gaps_in = 5,
gaps_out = 8,
float_gaps = 0,
gaps_workspaces = 0,
col = {
inactive_border = 0xff444444,
active_border = 0xffffffff,
nogroup_border = 0xffffaaff,
nogroup_border_active = 0xffff00ff,
},
layout = "dwindle",
no_focus_fallback = false,
resize_on_border = false,
extend_border_grab_area = 15,
hover_icon_on_border = true,
allow_tearing = false,
resize_corner = 0,
modal_parent_blocking = true,
locale = "de",
}
})
hl.config({
dwindle = {
force_split = 0,
preserve_split = false,
smart_split = false,
smart_resizing = true,
permanent_direction_override = false,
special_scale_factor = 1,
split_width_multiplier = 1.0,
use_active_for_splits = true,
default_split_ratio = 1.0,
split_bias = 0,
precise_mouse_move = false,
},
})
hl.config({
scrolling = {
fullscreen_on_one_column = false,
column_width = 0.8,
focus_fit_method = 0,
follow_focus = true,
follow_min_visible = 1,
explicit_column_widths = "0.333, 0.5, 0.667, 1.0",
wrap_focus = true,
wrap_swapcol = true,
direction = "right",
},
})
hl.config({
decoration = {
rounding = 5,
active_opacity = 1,
inactive_opacity = 0.75,
dim_modal = true,
dim_inactive = true,
dim_strength = 0.5,
blur = {
enabled = true,
},
}
})
-- MISC
hl.config({
misc = {
disable_hyprland_logo = true,
font_family = "CodeNewRoman Nerd Font",
splash_font_family = "CodeNewRoman Nerd Font",
force_default_wallpaper = 0,
vrr = 3,
animate_manual_resizes = true,
animate_mouse_windowdragging = true,
background_color = 0x000000,
on_focus_under_fullscreen = 0,
middle_click_paste = false,
}
})
hl.config({
render = {
direct_scanout = 2,
cm_enabled = true,
cm_auto_hdr = 1,
}
})
hl.config({
cursor ={
no_hardware_cursors = 1,
}
})
if HOSTNAME == "archlinux-hypr" then
hl.config({
cursor ={
default_monitor = "BNQ BenQ EX2710U Y8P00876019",
}
})
end
hl.config({
quirks ={
prefer_hdr = 1,
}
})
hl.config({
debug={
full_cm_proto = true,
}
})
-- Kvantum
hl.env("KVANTUM_THEME", "ColloidDark")
-- GTK
hl.env("GTK_THEME", "Colloid-Dark")
hl.env("GTK_ICON_THEME", "BeautyLine-Garuda")
hl.env("GTK_THEME_VARIANT", "dark")
--
hl.env("HYPRCURSOR_THEME", "DJ-FOX-C")
hl.env("HYPRCURSOR_SIZE", "24")
hl.env("XCURSOR_THEME", "DJ-FOX-C")
hl.env("XCURSOR_SIZE", "24")