178 lines
4.5 KiB
Lua
178 lines
4.5 KiB
Lua
hl.config({
|
|
general = {
|
|
border_size = 2,
|
|
gaps_in = 5,
|
|
gaps_out = 8,
|
|
float_gaps = 0,
|
|
gaps_workspaces = 0,
|
|
col = {
|
|
inactive_border = 0xff00B7EB,
|
|
active_border = { colors = { "rgba(ff0000ff)", "rgba(ffff00ff)", "rgba(00ff00ff)", "rgba(00ffffff)", "rgba(0000ffff)", "rgba(ff00ffff)" }, angle = 45 },
|
|
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.9,
|
|
focus_fit_method = 0,
|
|
follow_focus = true,
|
|
follow_min_visible = 1,
|
|
explicit_column_widths = "0.05, 0.90, 0.05",
|
|
wrap_focus = true,
|
|
wrap_swapcol = true,
|
|
direction = "right",
|
|
},
|
|
})
|
|
|
|
if USER == "honney" then
|
|
hl.config({
|
|
decoration = {
|
|
rounding = 5,
|
|
active_opacity = 1,
|
|
inactive_opacity = 1,
|
|
dim_modal = true,
|
|
dim_inactive = true,
|
|
dim_strength = 0.35,
|
|
blur = {
|
|
enabled = true,
|
|
},
|
|
}
|
|
})
|
|
|
|
hl.config({
|
|
render = {
|
|
direct_scanout = 2,
|
|
cm_enabled = true,
|
|
cm_auto_hdr = 1,
|
|
}
|
|
})
|
|
elseif USER == "teo" then
|
|
hl.config({
|
|
decoration = {
|
|
rounding = 5,
|
|
active_opacity = 1,
|
|
inactive_opacity = 1,
|
|
dim_modal = false,
|
|
dim_inactive = false,
|
|
dim_strength = 0.35,
|
|
blur = {
|
|
enabled = true,
|
|
},
|
|
}
|
|
})
|
|
|
|
hl.config({
|
|
render = {
|
|
direct_scanout = 2,
|
|
cm_enabled = true,
|
|
cm_auto_hdr = 0,
|
|
}
|
|
})
|
|
else
|
|
hl.config({
|
|
decoration = {
|
|
rounding = 5,
|
|
active_opacity = 1,
|
|
inactive_opacity = 1,
|
|
dim_modal = true,
|
|
dim_inactive = true,
|
|
dim_strength = 0.35,
|
|
blur = {
|
|
enabled = true,
|
|
},
|
|
}
|
|
})
|
|
|
|
hl.config({
|
|
render = {
|
|
direct_scanout = 2,
|
|
cm_enabled = true,
|
|
cm_auto_hdr = 0,
|
|
}
|
|
})
|
|
end
|
|
|
|
-- 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({
|
|
cursor ={
|
|
no_hardware_cursors = 1,
|
|
}
|
|
})
|
|
|
|
if HOSTNAME == "honney-main" 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") |