Files
hyprland/config/hypr/UserConfigs/UserSettings.conf
T
2024-08-10 11:50:39 +05:45

165 lines
3.7 KiB
Plaintext

# User Settings
# refer to Hyprland wiki for more info https://wiki.hyprland.org/Configuring/Variables
# Sourcing colors generated by wallust
source = ~/.cache/wal/colors-hyprland.conf
dwindle {
pseudotile = yes
preserve_split = yes
special_scale_factor = 0.8
}
master {
new_status = master
new_on_top=1
mfact = 0.5
}
general {
sensitivity = 1.00
apply_sens_to_raw = 1
gaps_in = 5
gaps_out = 14
border_size = 0
col.active_border = $border_color_active
col.inactive_border = $border_color_inactive
layout = master
}
decoration {
rounding = 20
active_opacity = 1
inactive_opacity = 1
fullscreen_opacity = 1
dim_inactive = true
dim_strength = 0.1
dim_special = 0.8
drop_shadow = false
shadow_range = 10
shadow_render_power = 3
col.shadow = 0x66000000
blur {
enabled = false
size = 4
passes = 3
ignore_opacity = true
new_optimizations = true
}
}
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 = menu_decel, 0.1, 1, 0, 1
bezier = menu_accel, 0.38, 0.04, 1, 0.07
bezier = easeInOutCirc, 0.85, 0, 0.15, 1
bezier = easeOutCirc, 0, 0.55, 0.45, 1
bezier = easeOutExpo, 0.16, 1, 0.3, 1
bezier = softAcDecel, 0.26, 0.26, 0.15, 1
bezier = md2, 0.4, 0, 0.2, 1 # use with .2s duration
# Animation configs
animation = windows, 1, 3, md3_decel, popin 60%
animation = windowsIn, 1, 3, md3_decel, popin 60%
animation = windowsOut, 1, 3, md3_accel, popin 60%
animation = border, 1, 10, default
animation = fade, 1, 3, md3_decel
animation = layers, 1, 2, md3_decel, slide
animation = layersIn, 1, 3, menu_decel, slide
animation = layersOut, 1, 1.6, menu_accel
animation = fadeLayersIn, 1, 2, menu_decel
animation = fadeLayersOut, 1, 4.5, menu_accel
animation = workspaces, 1, 7, menu_decel, slide
# animation = workspaces, 1, 2.5, softAcDecel, slide
# animation = workspaces, 1, 7, menu_decel, slidefade 15%
# animation = specialWorkspace, 1, 3, md3_decel, slidefadevert 15%
animation = specialWorkspace, 1, 3, md3_decel, slidevert
}
input {
kb_layout = us,np
kb_variant =
kb_model =
kb_options =
kb_rules =
repeat_rate = 50
repeat_delay = 300
numlock_by_default = true
left_handed = 0
follow_mouse = 1
float_switch_override_focus = 0
touchpad {
disable_while_typing = 1
natural_scroll = 0
clickfinger_behavior = 0
middle_button_emulation = 1
tap-to-click = 1
drag_lock = 0
}
}
gestures {
workspace_swipe=1
workspace_swipe_fingers=3
workspace_swipe_distance=500
workspace_swipe_invert=1
workspace_swipe_min_speed_to_force=30
workspace_swipe_cancel_ratio=0.5
workspace_swipe_create_new=1
workspace_swipe_forever=1
}
misc {
disable_hyprland_logo = true
disable_splash_rendering = true
mouse_move_enables_dpms = true
#vrr = 0
vfr = 1
mouse_move_enables_dpms = true
enable_swallow = true
no_direct_scanout = true #for fullscreen games
focus_on_activate = false
swallow_regex = (foot|kitty|allacritty|Alacritty)
#disable_autoreload = true
initial_workspace_tracking = false
animate_manual_resizes = false
animate_mouse_windowdragging = false
new_window_takes_over_fullscreen = 2
}
binds {
workspace_back_and_forth=1
allow_workspace_cycles=1
pass_mouse_when_bound=0
}
xwayland {
force_zero_scaling = true
}
cursor {
no_hardware_cursors = false
enable_hyprcursor = true
warp_on_change_workspace = true
}