dotfiles/hyprland/hypr/hyprland.conf
2023-09-21 18:37:25 -04:00

135 lines
2.7 KiB
Plaintext

# Refer to the wiki for more information.
# See https://wiki.hyprland.org/Configuring/Variables/ for more
#Sourcing external config files
source=~/.config/hypr/configs/ENVariables.conf
source=~/.config/hypr/configs/Execs.conf
source=~/.config/hypr/configs/Keybinds.conf
source=~/.config/hypr/configs/Monitors.conf
source=~/.config/hypr/configs/WindowRules.conf
general {
sensitivity=1.00
apply_sens_to_raw=1
gaps_in = 4
gaps_out = 8
border_size = 4
resize_on_border = true
#one color
#col.active_border = rgba(7aa2f7aa)
#more colors - gradient
col.active_border = rgb(5AE058) rgb(3FB5A3) 45deg
#col.active_border = rgb(7287fd) rgb(74c7ec) rgb(89b4fa) 45deg
col.inactive_border = rgb(000000)
layout = master # master or dwindle
}
input {
kb_layout=ca
kb_variant=
kb_model=
kb_options=grp:alt_shift_toggle
kb_rules=
repeat_rate=50
repeat_delay=300
numlock_by_default=0
left_handed=0
follow_mouse=1
float_switch_override_focus=0
touchpad {
disable_while_typing=1
natural_scroll=1
clickfinger_behavior=0
middle_button_emulation=1
tap-to-click=1
drag_lock=1
}
}
gestures {
workspace_swipe=1
workspace_swipe_fingers=3
workspace_swipe_distance=400
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
}
decoration {
rounding = 6
multisample_edges = true
#blur = yes
#blur_size = 8
#blur_passes = 2
#blur_new_optimizations = on
active_opacity = 1.0
inactive_opacity = 0.7
fullscreen_opacity = 1.0
dim_inactive = true
dim_strength = 0.1
drop_shadow=true
shadow_range=10
shadow_render_power = 2
col.shadow = rgb(7ef788)
col.shadow_inactive = 0x50000000
}
#blurls = waybar
bezier = wind, 0.05, 0.9, 0.1, 1.05
bezier = winIn, 0.1, 1.1, 0.1, 1.1
bezier = winOut, 0.3, -0.3, 0, 1
bezier = liner, 1, 1, 1, 1
animations {
enabled = yes
animation = windowsIn, 1, 6, winIn, slide
animation = windowsOut, 1, 5, winOut, slide
animation = windowsMove, 1, 5, wind, slide
animation = border, 1, 1, liner
animation = borderangle, 1, 30, liner, loop
animation = fade, 1, 10, default
animation = workspaces, 1, 5, wind
animation = windows, 1, 6, wind, slide
}
dwindle {
pseudotile = yes
preserve_split = yes
special_scale_factor = 0.8
}
master {
new_is_master=1
new_on_top=0
mfact = 0.5
}
binds {
workspace_back_and_forth=1
allow_workspace_cycles=1
pass_mouse_when_bound=0
}
misc {
disable_hyprland_logo = true
disable_splash_rendering = true
mouse_move_enables_dpms = true
vrr = 2
enable_swallow = true
no_direct_scanout = true #for fullscreen games
focus_on_activate = false
swallow_regex = ^(kitty)$
}