dotfiles/config/hypr/hyprland.conf

109 lines
1.9 KiB
Text

# Monitor
monitor = , highrr, 1920x0, 1
# Input
input {
kb_layout = fr
kb_variant =
kb_model =
kb_options = compose:rwin
kb_rules =
follow_mouse = 1
touchpad {
natural_scroll = no
}
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
numlock_by_default = yes
repeat_rate = 40
repeat_delay = 300
accel_profile = flat
}
# General
general {
gaps_in = 5
gaps_out = 10
border_size = 2
col.active_border = rgba(df80ffff) rgba(cc33ffff) 90deg
col.inactive_border = rgba(886c9322)
layout = dwindle
}
group {
col.border_inactive = rgba(f2f2f280)
col.border_active = rgb(3366ff) rgb(33ccff)
}
# Decoration
decoration {
rounding = 5
drop_shadow = yes
shadow_range = 4
shadow_render_power = 3
col.shadow = rgba(1a1a1aee)
inactive_opacity = 0.9
blur {
enabled = yes
size = 3
passes = 1
#new_optimizations = on
}
}
# Animations
$animSpeed = 3
animations {
enabled = yes
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
animation = windows, 1, $animSpeed, myBezier
animation = windowsOut, 1, $animSpeed, default, popin 80%
animation = border, 1, $animSpeed, default
animation = fade, 1, $animSpeed, default
animation = workspaces, 1, $animSpeed, default
}
# Dwindle
dwindle {
pseudotile = yes
preserve_split = yes
}
# Master
master {
new_is_master = true
}
# Gestures
gestures {
workspace_swipe = off
}
# Per-device config
device:epic mouse V1 {
sensitivity = -0.5
}
# Variables
$browser = librewolf
$terminal = alacritty
$discord = webcord
$deezer = deezer
$bitwarden = bitwarden-desktop
$joplin = joplin-desktop
$matrix = element-desktop
# Modular sourcing
$confDir = ~/.config/hypr/hyprland.conf.d
source = $confDir/bindings.conf
source = $confDir/windowrules.conf
source = $confDir/startup.conf
source = $confDir/environment.conf