hl.config({ plugin = { -- overview = { -- enabled = true, -- disableGestures = true, -- panelHeight = 150, -- }, -- hyprfocus { -- enabled = yes -- focus_animation = shrink -- animate_floating = yes -- animate_worksapcechange = yes -- } dynamic_cursors = { mode = "stretch", shake = { effects = true }, -- shaperule = text, none -- hyprcursor { -- nearest = false -- } -- shaperule = clientside, none }, -- scroller = { -- column_default_width = "onehalf", -- focus_edge_ms = 100, -- only_window_one = true, -- }, -- chromakey_background = $background -- hy3 { -- -- disable gaps when only one window is onscreen -- -- 0 - always show gaps -- -- 1 - hide gaps with a single window onscreen -- -- 2 - 1 but also show the window border -- -- no_gaps_when_only = -- default: 0 -- -- policy controlling what happens when a node is removed from a group, -- -- leaving only a group -- -- 0 = remove the nested group -- -- 1 = keep the nested group -- -- 2 = keep the nested group only if its parent is a tab group -- -- node_collapse_policy = -- default: 2 -- -- offset from group split direction when only one window is in a group -- -- group_inset = -- default: 10 -- -- if a tab group will automatically be created for the first window spawned in a workspace -- -- tab_first_window = -- -- tab group settings -- tabs { -- -- height of the tab bar -- -- height = -- default: 15 -- -- padding between the tab bar and its focused node -- -- padding = -- default: 5 -- -- the tab bar should animate in/out from the top instead of below the window -- -- from_top = -- default: false -- -- rounding of tab bar corners -- -- rounding = -- default: 3 -- -- render the window title on the bar -- -- render_text = -- default: true -- -- center the window title -- -- text_center = -- default: false -- -- font to render the window title with -- -- text_font = -- default: Sans -- -- height of the window title -- -- text_height = -- default: 8 -- -- left padding of the window title -- -- text_padding = -- default: 3 -- -- active tab bar segment color -- -- col.active = -- default: 0xff32b4ff -- -- urgent tab bar segment color -- -- col.urgent = -- default: 0xffff4f4f -- -- inactive tab bar segment color -- -- col.inactive = -- default: 0x80808080 -- -- active tab bar text color -- -- col.text.active = -- default: 0xff000000 -- -- urgent tab bar text color -- -- col.text.urgent = -- default: 0xff000000 -- -- inactive tab bar text color -- -- col.text.inactive = -- default: 0xff000000 -- } -- -- autotiling settings -- autotile { -- -- enable autotile -- -- enable = -- default: false -- -- make autotile-created groups ephemeral -- -- ephemeral_groups = -- default: true -- -- if a window would be squished smaller than this width, a vertical split will be created -- -- -1 = never automatically split vertically -- -- 0 = always automatically split vertically -- -- -- = pixel height to split at -- -- trigger_width = -- default: 0 -- -- if a window would be squished smaller than this height, a horizontal split will be created -- -- -1 = never automatically split horizontally -- -- 0 = always automatically split horizontally -- -- = pixel height to split at -- -- trigger_height = -- default: 0 -- -- a space or comma separated list of workspace ids where autotile should be enabled -- -- it's possible to create an exception rule by prefixing the definition with "not:" -- -- workspaces = 1,2 -- autotiling will only be enabled on workspaces 1 and 2 -- -- workspaces = not:1,2 -- autotiling will be enabled on all workspaces except 1 and 2 -- -- workspaces = -- default: all -- } -- } -- hyprwinwrap { -- class = winwrap -- } } }) hl.plugin.dynamic_cursors.shape_rule { shape = "clientside", mode = "none", } if hl.plugin.hyprglass then local hg = hl.plugin.hyprglass hg.config({ default_theme = "dark", default_preset = "clear", tint_color = 0x8899aa22, brightness = 0.9, dark = { brightness = 0.82 }, light = { adaptive_boost = 0.5 }, layers = { enabled = true }, }) -- Layer surfaces: each call whitelists the namespace and configures it hg.layer("quickshell::bar", { preset = "subtle", mask_threshold = 0.05 }) hg.layer("swaync") hg.layer("quickshell:bezel", { preset = "ui", mask_threshold = 0.3 }) hg.layer("debug-panel", { exclude = true }) -- Presets hg.preset("clear", { glass_opacity = 0.8, blur_strength = 1.5, dark = { brightness = 0.7 }, light = { brightness = 1.2 }, }) hg.preset("contrasted", { inherits = "high_contrast", contrast = 1.2, adaptive_dim = 1.5, dark = { tint_color = 0x02142aa9 }, }) end