forked from Shinonome/dots-hyprland
Move general config into hyprland/general.conf
This commit is contained in:
+5
-162
@@ -1,169 +1,12 @@
|
|||||||
# This file contains general customization options
|
# General customization options
|
||||||
# For Environment variables see env.conf
|
source=~/.config/hypr/hyprland/general.conf
|
||||||
# For Keybinds variables see keybinds.conf
|
# Environment variables
|
||||||
# For Auto-run stuff see execs.conf
|
|
||||||
# For Window/layer rules see rules.conf
|
|
||||||
|
|
||||||
source=~/.config/hypr/hyprland/env.conf
|
source=~/.config/hypr/hyprland/env.conf
|
||||||
|
# Startup executions, Auto-run stuff
|
||||||
# MONITOR CONFIG
|
|
||||||
monitor=,preferred,auto,1
|
|
||||||
monitor=,addreserved, 0, 0, 0, 0
|
|
||||||
|
|
||||||
# monitor=HDMI-A-1,1920x1080@60,1920x0,1,mirror,eDP-1
|
|
||||||
|
|
||||||
# Startup executions
|
|
||||||
source=~/.config/hypr/hyprland/execs.conf
|
source=~/.config/hypr/hyprland/execs.conf
|
||||||
|
|
||||||
input {
|
|
||||||
# Keyboard: Add a layout and uncomment kb_options for Win+Space switching shortcut
|
|
||||||
kb_layout = us
|
|
||||||
# kb_options = grp:win_space_toggle
|
|
||||||
numlock_by_default = true
|
|
||||||
repeat_delay = 250
|
|
||||||
repeat_rate = 35
|
|
||||||
|
|
||||||
touchpad {
|
|
||||||
natural_scroll = yes
|
|
||||||
disable_while_typing = true
|
|
||||||
clickfinger_behavior = true
|
|
||||||
scroll_factor = 0.5
|
|
||||||
}
|
|
||||||
|
|
||||||
special_fallthrough = true
|
|
||||||
follow_mouse = 1
|
|
||||||
}
|
|
||||||
|
|
||||||
binds {
|
|
||||||
# focus_window_on_workspace_c# For Auto-run stuff see execs.confhange = true
|
|
||||||
scroll_event_delay = 0
|
|
||||||
}
|
|
||||||
|
|
||||||
gestures {
|
|
||||||
workspace_swipe = true
|
|
||||||
workspace_swipe_distance = 700
|
|
||||||
workspace_swipe_fingers = 4
|
|
||||||
workspace_swipe_cancel_ratio = 0.2
|
|
||||||
workspace_swipe_min_speed_to_force = 5
|
|
||||||
workspace_swipe_direction_lock = true
|
|
||||||
workspace_swipe_direction_lock_threshold = 10
|
|
||||||
workspace_swipe_create_new = true
|
|
||||||
}
|
|
||||||
|
|
||||||
general {
|
|
||||||
# Gaps and border
|
|
||||||
gaps_in = 4
|
|
||||||
gaps_out = 5
|
|
||||||
gaps_workspaces = 50
|
|
||||||
border_size = 1
|
|
||||||
|
|
||||||
# Fallback colors
|
|
||||||
col.active_border = rgba(0DB7D4FF)
|
|
||||||
col.inactive_border = rgba(31313600)
|
|
||||||
|
|
||||||
resize_on_border = true
|
|
||||||
no_focus_fallback = true
|
|
||||||
layout = dwindle
|
|
||||||
|
|
||||||
#focus_to_other_workspaces = true # ahhhh i still haven't properly implemented this
|
|
||||||
allow_tearing = false # some guy told me tearing might make things smoother idk
|
|
||||||
}
|
|
||||||
|
|
||||||
dwindle {
|
|
||||||
preserve_split = true
|
|
||||||
# no_gaps_when_only = 1
|
|
||||||
smart_split = false
|
|
||||||
smart_resizing = false
|
|
||||||
}
|
|
||||||
|
|
||||||
decoration {
|
|
||||||
rounding = 20
|
|
||||||
|
|
||||||
blur {
|
|
||||||
enabled = true
|
|
||||||
xray = true
|
|
||||||
special = false
|
|
||||||
new_optimizations = true
|
|
||||||
size = 5
|
|
||||||
passes = 4
|
|
||||||
brightness = 1
|
|
||||||
noise = 0.01
|
|
||||||
contrast = 1
|
|
||||||
}
|
|
||||||
# Shadow
|
|
||||||
drop_shadow = false
|
|
||||||
shadow_ignore_window = true
|
|
||||||
shadow_range = 20
|
|
||||||
shadow_offset = 0 2
|
|
||||||
shadow_render_power = 2
|
|
||||||
col.shadow = rgba(0000001A)
|
|
||||||
|
|
||||||
# Shader
|
|
||||||
# screen_shader = ~/.config/hypr/shaders/nothing.frag
|
|
||||||
# screen_shader = ~/.config/hypr/shaders/vibrance.frag
|
|
||||||
|
|
||||||
# Dim
|
|
||||||
dim_inactive = false
|
|
||||||
dim_strength = 0.1
|
|
||||||
dim_special = 0
|
|
||||||
}
|
|
||||||
|
|
||||||
animations {
|
|
||||||
enabled = true
|
|
||||||
# Animation curves
|
|
||||||
|
|
||||||
bezier = linear, 0, 0, 1, 1
|
|
||||||
bezier = md3_standard, 0.2, 0, 0, 1
|
|
||||||
bezier = md3_decel, 0.05, 0.7, 0.1, 1
|
|
||||||
bezier = md3_accel, 0.3, 0, 0.8, 0.15
|
|
||||||
bezier = overshot, 0.05, 0.9, 0.1, 1.1
|
|
||||||
bezier = crazyshot, 0.1, 1.5, 0.76, 0.92
|
|
||||||
bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0
|
|
||||||
bezier = fluent_decel, 0.1, 1, 0, 1
|
|
||||||
bezier = easeInOutCirc, 0.85, 0, 0.15, 1
|
|
||||||
bezier = easeOutCirc, 0, 0.55, 0.45, 1
|
|
||||||
bezier = easeOutExpo, 0.16, 1, 0.3, 1
|
|
||||||
# Animation configs
|
|
||||||
animation = windows, 1, 3, md3_decel, popin 60%
|
|
||||||
animation = border, 1, 10, default
|
|
||||||
animation = fade, 1, 2.5, md3_decel
|
|
||||||
# animation = workspaces, 1, 3.5, md3_decel, slide
|
|
||||||
animation = workspaces, 1, 7, fluent_decel, slide
|
|
||||||
# animation = workspaces, 1, 7, fluent_decel, slidefade 15%
|
|
||||||
# animation = specialWorkspace, 1, 3, md3_decel, slidefadevert 15%
|
|
||||||
animation = specialWorkspace, 1, 3, md3_decel, slidevert
|
|
||||||
}
|
|
||||||
|
|
||||||
misc {
|
|
||||||
vfr = 1
|
|
||||||
vrr = 1
|
|
||||||
# layers_hog_mouse_focus = true
|
|
||||||
focus_on_activate = true
|
|
||||||
animate_manual_resizes = false
|
|
||||||
animate_mouse_windowdragging = false
|
|
||||||
enable_swallow = false
|
|
||||||
swallow_regex = (foot|kitty|allacritty|Alacritty)
|
|
||||||
|
|
||||||
disable_hyprland_logo = true
|
|
||||||
force_default_wallpaper = 0
|
|
||||||
new_window_takes_over_fullscreen = 2
|
|
||||||
}
|
|
||||||
|
|
||||||
debug {
|
|
||||||
# overlay = true
|
|
||||||
# damage_tracking = 0
|
|
||||||
|
|
||||||
# damage_blink = yes
|
|
||||||
}
|
|
||||||
|
|
||||||
# Window and layer rules
|
# Window and layer rules
|
||||||
layerrule = noanim, selection
|
|
||||||
source=~/.config/hypr/hyprland/rules.conf
|
source=~/.config/hypr/hyprland/rules.conf
|
||||||
|
|
||||||
# Dynamic colors
|
# Dynamic colors
|
||||||
source=~/.config/hypr/hyprland/colors.conf
|
source=~/.config/hypr/hyprland/colors.conf
|
||||||
|
# Keybinds variables
|
||||||
# Keybinds
|
|
||||||
source=~/.config/hypr/hyprland/keybinds.conf
|
source=~/.config/hypr/hyprland/keybinds.conf
|
||||||
|
|
||||||
windowrulev2=rounding 20, onworkspace:1
|
|
||||||
|
|||||||
@@ -0,0 +1,150 @@
|
|||||||
|
# MONITOR CONFIG
|
||||||
|
monitor=,preferred,auto,1
|
||||||
|
monitor=,addreserved, 0, 0, 0, 0
|
||||||
|
|
||||||
|
# monitor=HDMI-A-1,1920x1080@60,1920x0,1,mirror,eDP-1
|
||||||
|
|
||||||
|
input {
|
||||||
|
# Keyboard: Add a layout and uncomment kb_options for Win+Space switching shortcut
|
||||||
|
kb_layout = us
|
||||||
|
# kb_options = grp:win_space_toggle
|
||||||
|
numlock_by_default = true
|
||||||
|
repeat_delay = 250
|
||||||
|
repeat_rate = 35
|
||||||
|
|
||||||
|
touchpad {
|
||||||
|
natural_scroll = yes
|
||||||
|
disable_while_typing = true
|
||||||
|
clickfinger_behavior = true
|
||||||
|
scroll_factor = 0.5
|
||||||
|
}
|
||||||
|
|
||||||
|
special_fallthrough = true
|
||||||
|
follow_mouse = 1
|
||||||
|
}
|
||||||
|
|
||||||
|
binds {
|
||||||
|
# focus_window_on_workspace_c# For Auto-run stuff see execs.confhange = true
|
||||||
|
scroll_event_delay = 0
|
||||||
|
}
|
||||||
|
|
||||||
|
gestures {
|
||||||
|
workspace_swipe = true
|
||||||
|
workspace_swipe_distance = 700
|
||||||
|
workspace_swipe_fingers = 4
|
||||||
|
workspace_swipe_cancel_ratio = 0.2
|
||||||
|
workspace_swipe_min_speed_to_force = 5
|
||||||
|
workspace_swipe_direction_lock = true
|
||||||
|
workspace_swipe_direction_lock_threshold = 10
|
||||||
|
workspace_swipe_create_new = true
|
||||||
|
}
|
||||||
|
|
||||||
|
general {
|
||||||
|
# Gaps and border
|
||||||
|
gaps_in = 4
|
||||||
|
gaps_out = 5
|
||||||
|
gaps_workspaces = 50
|
||||||
|
border_size = 1
|
||||||
|
|
||||||
|
# Fallback colors
|
||||||
|
col.active_border = rgba(0DB7D4FF)
|
||||||
|
col.inactive_border = rgba(31313600)
|
||||||
|
|
||||||
|
resize_on_border = true
|
||||||
|
no_focus_fallback = true
|
||||||
|
layout = dwindle
|
||||||
|
|
||||||
|
#focus_to_other_workspaces = true # ahhhh i still haven't properly implemented this
|
||||||
|
allow_tearing = false # some guy told me tearing might make things smoother idk
|
||||||
|
}
|
||||||
|
|
||||||
|
dwindle {
|
||||||
|
preserve_split = true
|
||||||
|
# no_gaps_when_only = 1
|
||||||
|
smart_split = false
|
||||||
|
smart_resizing = false
|
||||||
|
}
|
||||||
|
|
||||||
|
decoration {
|
||||||
|
rounding = 20
|
||||||
|
|
||||||
|
blur {
|
||||||
|
enabled = true
|
||||||
|
xray = true
|
||||||
|
special = false
|
||||||
|
new_optimizations = true
|
||||||
|
size = 5
|
||||||
|
passes = 4
|
||||||
|
brightness = 1
|
||||||
|
noise = 0.01
|
||||||
|
contrast = 1
|
||||||
|
}
|
||||||
|
# Shadow
|
||||||
|
drop_shadow = false
|
||||||
|
shadow_ignore_window = true
|
||||||
|
shadow_range = 20
|
||||||
|
shadow_offset = 0 2
|
||||||
|
shadow_render_power = 2
|
||||||
|
col.shadow = rgba(0000001A)
|
||||||
|
|
||||||
|
# Shader
|
||||||
|
# screen_shader = ~/.config/hypr/shaders/nothing.frag
|
||||||
|
# screen_shader = ~/.config/hypr/shaders/vibrance.frag
|
||||||
|
|
||||||
|
# Dim
|
||||||
|
dim_inactive = false
|
||||||
|
dim_strength = 0.1
|
||||||
|
dim_special = 0
|
||||||
|
}
|
||||||
|
|
||||||
|
animations {
|
||||||
|
enabled = true
|
||||||
|
# Animation curves
|
||||||
|
|
||||||
|
bezier = linear, 0, 0, 1, 1
|
||||||
|
bezier = md3_standard, 0.2, 0, 0, 1
|
||||||
|
bezier = md3_decel, 0.05, 0.7, 0.1, 1
|
||||||
|
bezier = md3_accel, 0.3, 0, 0.8, 0.15
|
||||||
|
bezier = overshot, 0.05, 0.9, 0.1, 1.1
|
||||||
|
bezier = crazyshot, 0.1, 1.5, 0.76, 0.92
|
||||||
|
bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0
|
||||||
|
bezier = fluent_decel, 0.1, 1, 0, 1
|
||||||
|
bezier = easeInOutCirc, 0.85, 0, 0.15, 1
|
||||||
|
bezier = easeOutCirc, 0, 0.55, 0.45, 1
|
||||||
|
bezier = easeOutExpo, 0.16, 1, 0.3, 1
|
||||||
|
# Animation configs
|
||||||
|
animation = windows, 1, 3, md3_decel, popin 60%
|
||||||
|
animation = border, 1, 10, default
|
||||||
|
animation = fade, 1, 2.5, md3_decel
|
||||||
|
# animation = workspaces, 1, 3.5, md3_decel, slide
|
||||||
|
animation = workspaces, 1, 7, fluent_decel, slide
|
||||||
|
# animation = workspaces, 1, 7, fluent_decel, slidefade 15%
|
||||||
|
# animation = specialWorkspace, 1, 3, md3_decel, slidefadevert 15%
|
||||||
|
animation = specialWorkspace, 1, 3, md3_decel, slidevert
|
||||||
|
}
|
||||||
|
|
||||||
|
misc {
|
||||||
|
vfr = 1
|
||||||
|
vrr = 1
|
||||||
|
# layers_hog_mouse_focus = true
|
||||||
|
focus_on_activate = true
|
||||||
|
animate_manual_resizes = false
|
||||||
|
animate_mouse_windowdragging = false
|
||||||
|
enable_swallow = false
|
||||||
|
swallow_regex = (foot|kitty|allacritty|Alacritty)
|
||||||
|
|
||||||
|
disable_hyprland_logo = true
|
||||||
|
force_default_wallpaper = 0
|
||||||
|
new_window_takes_over_fullscreen = 2
|
||||||
|
}
|
||||||
|
|
||||||
|
debug {
|
||||||
|
# overlay = true
|
||||||
|
# damage_tracking = 0
|
||||||
|
|
||||||
|
# damage_blink = yes
|
||||||
|
}
|
||||||
|
|
||||||
|
# Window and layer rules
|
||||||
|
layerrule = noanim, selection
|
||||||
|
windowrulev2=rounding 20, onworkspace:1
|
||||||
Reference in New Issue
Block a user