summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2024-10-08 23:30:30 +0800
committerlittleblack111 <littleblack11111@gmail.com>2024-10-08 23:30:30 +0800
commit7aecc7390002d081478f56964b205e347a3e5217 (patch)
tree4783b6c85da1c90442cf0f624852f1c1a4ad43b9
parent047bbeacbf9c2175ab3c0a3ee3c98a9b26bdbeac (diff)
add(render,opengl): added options to make display faster
add(group): added configs for group
-rw-r--r--dot-config/hypr/hyprland.conf130
1 files changed, 130 insertions, 0 deletions
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 = <int> # 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 = <int> # default: 2
+
+ # # offset from group split direction when only one window is in a group
+ # # group_inset = <int> # default: 10
+
+ # # if a tab group will automatically be created for the first window spawned in a workspace
+ # # tab_first_window = <bool>
+
+ # # tab group settings
+ # tabs {
+ # # height of the tab bar
+ # # height = <int> # default: 15
+
+ # # padding between the tab bar and its focused node
+ # # padding = <int> # default: 5
+
+ # # the tab bar should animate in/out from the top instead of below the window
+ # # from_top = <bool> # default: false
+
+ # # rounding of tab bar corners
+ # # rounding = <int> # default: 3
+
+ # # render the window title on the bar
+ # # render_text = <bool> # default: true
+
+ # # center the window title
+ # # text_center = <bool> # default: false
+
+ # # font to render the window title with
+ # # text_font = <string> # default: Sans
+
+ # # height of the window title
+ # # text_height = <int> # default: 8
+
+ # # left padding of the window title
+ # # text_padding = <int> # default: 3
+
+ # # active tab bar segment color
+ # # col.active = <color> # default: 0xff32b4ff
+
+ # # urgent tab bar segment color
+ # # col.urgent = <color> # default: 0xffff4f4f
+
+ # # inactive tab bar segment color
+ # # col.inactive = <color> # default: 0x80808080
+
+ # # active tab bar text color
+ # # col.text.active = <color> # default: 0xff000000
+
+ # # urgent tab bar text color
+ # # col.text.urgent = <color> # default: 0xff000000
+
+ # # inactive tab bar text color
+ # # col.text.inactive = <color> # default: 0xff000000
+ # }
+
+ # # autotiling settings
+ # autotile {
+ # # enable autotile
+ # # enable = <bool> # default: false
+
+ # # make autotile-created groups ephemeral
+ # # ephemeral_groups = <bool> # 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
+ # # <number> = pixel height to split at
+ # # trigger_width = <int> # 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
+ # # <number> = pixel height to split at
+ # # trigger_height = <int> # 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 = <string> # 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
+}