From 7aecc7390002d081478f56964b205e347a3e5217 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Tue, 8 Oct 2024 23:30:30 +0800 Subject: add(render,opengl): added options to make display faster add(group): added configs for group --- dot-config/hypr/hyprland.conf | 130 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 130 insertions(+) diff --git a/dot-config/hypr/hyprland.conf b/dot-config/hypr/hyprland.conf index f51fb9fc..8f0e4cb5 100644 --- a/dot-config/hypr/hyprland.conf +++ b/dot-config/hypr/hyprland.conf @@ -159,10 +159,37 @@ misc { new_window_takes_over_fullscreen = 2 } +group { + groupbar { + # enabled = false + render_titles = false + text_color = $foreground + col.active = $color0 + col.inactive = $background + col.locked_active = $color0 + col.locked_inactive = $background + } + col.border_active = $color0 $color15 $foreground $cursor + col.border_inactive = $background + col.border_locked_active = $color0 $background + col.border_locked_inactive = $background +} + # binds { # workspace_back_and_forth = true # } +render { + explicit_sync = 1 + explicit_sync_kms = 1 + direct_scanout = true +} + +opengl { + # nvidia_anti_flicker = false + # force_introspection = 0 +} + ############# ### INPUT ### ############# @@ -188,6 +215,8 @@ input { cursor { # allow_dumb_copy = true no_hardware_cursors = true + no_break_fs_vrr = true + # zoom_rigid = true } plugin { @@ -211,6 +240,101 @@ plugin { # shaperule = clientside, none } # 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 + # } + # } } source = ~/.config/hypr/env.conf @@ -218,3 +342,9 @@ source = ~/.config/hypr/rules.conf source = ~/.config/hypr/binds.conf source = ~/.config/hypr/autostart.conf # debug:disable_logs = false + +debug { + # overlay = true # show fps + # suppress_errors = true + error_position = 1 +} -- cgit v1.2.3