mirror of
https://github.com/morten-olsen/configs.git
synced 2026-02-08 00:46:24 +01:00
Add hyprland
This commit is contained in:
88
playbooks/roles/desktop_hyprland/templates/hyprland.conf.j2
Normal file
88
playbooks/roles/desktop_hyprland/templates/hyprland.conf.j2
Normal file
@@ -0,0 +1,88 @@
|
||||
|
||||
source = ~/.config/hypr/env.conf
|
||||
source = ~/.config/hypr/inputs.conf
|
||||
source = ~/.config/hypr/keybind.conf
|
||||
source = ~/.config/hypr/startup.conf
|
||||
|
||||
general {
|
||||
gaps_in = 5
|
||||
gaps_out = 5
|
||||
border_size = 2
|
||||
col.active_border = rgba(e5b9c6ff) rgba(c293a3ff) 45deg
|
||||
col.inactive_border = 0xff382D2E
|
||||
no_border_on_floating = false # enable border on float window
|
||||
layout = dwindle
|
||||
no_cursor_warps = true
|
||||
# cursor_inactive_timeout = 0
|
||||
# no_focus_fallback = false
|
||||
# resize_on_border = false
|
||||
}
|
||||
|
||||
|
||||
misc {
|
||||
disable_hyprland_logo = true
|
||||
disable_splash_rendering = true
|
||||
mouse_move_enables_dpms = true
|
||||
vfr = true
|
||||
vrr = 0
|
||||
animate_manual_resizes = true
|
||||
mouse_move_focuses_monitor = true
|
||||
enable_swallow = true
|
||||
swallow_regex = ^(wezterm)$
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 0
|
||||
# multisample_edges = true
|
||||
active_opacity = 1.0
|
||||
inactive_opacity = 1.0
|
||||
|
||||
blur {
|
||||
enabled = true
|
||||
size = 6
|
||||
passes = 3
|
||||
new_optimizations = true
|
||||
xray = true
|
||||
ignore_opacity = true
|
||||
}
|
||||
|
||||
drop_shadow = false
|
||||
shadow_ignore_window = true
|
||||
shadow_offset = 1 2
|
||||
shadow_range = 10
|
||||
shadow_render_power = 5
|
||||
col.shadow = 0x66404040
|
||||
|
||||
#blurls = gtk-layer-shell
|
||||
blurls = waybar
|
||||
blurls = lockscreen
|
||||
}
|
||||
|
||||
animations {
|
||||
enabled = true
|
||||
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
|
||||
|
||||
animation = windows, 1, 6, wind, slide
|
||||
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
|
||||
}
|
||||
|
||||
dwindle {
|
||||
no_gaps_when_only = false
|
||||
pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
preserve_split = true # you probably want this
|
||||
}
|
||||
|
||||
master {
|
||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||
new_is_master = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user