Improve hyprland config (env + handler)
This commit is contained in:
parent
c6267c7163
commit
b3f1045292
7 changed files with 135 additions and 99 deletions
71
.config/hypr/vars.conf
Normal file
71
.config/hypr/vars.conf
Normal file
|
@ -0,0 +1,71 @@
|
|||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||
input {
|
||||
kb_layout = de
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options =
|
||||
kb_rules =
|
||||
numlock_by_default = true
|
||||
|
||||
follow_mouse = 1
|
||||
mouse_refocus = false
|
||||
accel_profile = flat
|
||||
|
||||
touchpad {
|
||||
natural_scroll = no
|
||||
}
|
||||
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
}
|
||||
|
||||
general {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
gaps_in = 3
|
||||
gaps_out = 6
|
||||
border_size = 1
|
||||
|
||||
cursor_inactive_timeout = 3
|
||||
no_cursor_warps = true
|
||||
|
||||
layout = master
|
||||
}
|
||||
|
||||
decoration {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
rounding = 3
|
||||
blur = yes
|
||||
blur_size = 3
|
||||
blur_passes = 1
|
||||
blur_new_optimizations = true
|
||||
}
|
||||
|
||||
animations {
|
||||
enabled = true
|
||||
|
||||
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
||||
|
||||
bezier = overshot, 0.05, 0.9, 0.1, 1.1
|
||||
|
||||
animation = windows, 1, 3, overshot, slide
|
||||
animation = fade, 0, 6, default
|
||||
animation = border, 1, 6, default
|
||||
animation = workspaces, 1, 6, overshot, slide
|
||||
}
|
||||
|
||||
dwindle {
|
||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
preserve_split = yes # you probably want this
|
||||
|
||||
no_gaps_when_only = yes
|
||||
}
|
||||
|
||||
master {
|
||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||
new_is_master = true
|
||||
mfact = 0.5
|
||||
|
||||
no_gaps_when_only = yes
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue