dotfiles/.config/hypr/hyprland.conf.cgt

93 lines
2 KiB
Text
Raw Normal View History

2023-08-27 17:01:31 +02:00
<% opt.getDeviceConf "hyprland.conf" %>
2023-08-26 18:11:38 +02:00
input {
kb_layout = de
2023-08-27 17:01:31 +02:00
follow_mouse = 2
2023-08-26 18:11:38 +02:00
touchpad {
natural_scroll = no
}
}
general {
gaps_in = 5
gaps_out = 20
2023-08-29 21:07:52 +02:00
border_size = 2.5
2024-01-14 18:27:37 +01:00
col.active_border = rgba(<% opt.catppuccin.red %>ee) rgba(<% opt.catppuccin.green %>ee) 45deg
col.inactive_border = rgba(<% opt.catppuccin.crust %>aa)
2023-08-26 18:11:38 +02:00
layout = dwindle
}
decoration {
rounding = 0
blur {
2023-08-27 17:01:31 +02:00
enabled = true
2023-08-26 18:11:38 +02:00
size = 3
passes = 1
}
drop_shadow = yes
shadow_range = 4
shadow_render_power = 3
col.shadow = rgba(1a1a1aee)
}
animations {
enabled = yes
2023-08-29 13:19:40 +02:00
bezier = overshoot, 0.05, 0.9, 0.1, 1.05
2023-08-29 21:07:52 +02:00
bezier = linear, 0.0, 0.0, 1.0, 1.0
2023-08-26 18:11:38 +02:00
2023-08-29 13:19:40 +02:00
animation = windows, 1, 7, overshoot
2023-08-26 18:11:38 +02:00
animation = windowsOut, 1, 7, default, popin 80%
animation = border, 1, 10, default
2023-08-29 21:07:52 +02:00
animation = borderangle, 1, 16, linear, loop
2023-08-26 18:11:38 +02:00
animation = fade, 1, 7, default
2023-08-29 13:19:40 +02:00
animation = workspaces, 1, 6, overshoot, slidefade 20%
}
misc {
# Covered by wallpaper
disable_hyprland_logo = true
disable_splash_rendering = true
animate_manual_resizes = true
animate_mouse_windowdragging = true
2023-08-26 18:11:38 +02:00
}
dwindle {
2023-08-29 21:07:52 +02:00
pseudotile = yes
preserve_split = yes
2023-08-26 18:11:38 +02:00
}
2023-10-25 20:02:43 +02:00
windowrule = float,^(vinput-editor)$
windowrule = center,^(vinput-editor)$
2023-08-29 21:07:52 +02:00
source = ~/.config/hypr/control-keybinds.conf
source = ~/.config/hypr/prog-keybinds.conf
2023-08-26 18:11:38 +02:00
2023-08-27 17:01:31 +02:00
env = XDG_SESSION_TYPE, wayland
2023-08-27 19:46:42 +02:00
env = MOZ_ENABLE_WAYLAND, 1
2023-08-27 17:01:31 +02:00
2023-08-29 21:07:52 +02:00
env = XCURSOR_SIZE, <% opt.cursor.size %>
2023-08-27 17:01:31 +02:00
<! if opt.nvidia then -- nvidia workarounds !>
env = LIBVA_DRIVER_NAME, nvidia
env = GBM_BACKEND, nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME, nvidia
env = WLR_NO_HARDWARE_CURSORS, 1
<! end !>
2024-03-08 13:04:40 +01:00
exec-once = echo 'cg.opt.setCurrentWaylandCompositor "hyprland"' >~/confgenfs/_cgfs/eval
2023-08-26 18:11:38 +02:00
exec-once = waybar
2023-10-28 11:51:12 +02:00
exec-once = wlbg
2023-08-29 13:19:40 +02:00
exec-once = sleep 1 && randomwallpaper
2023-08-26 18:11:38 +02:00
exec-once = hyprctl setcursor <% opt.cursor.theme %> <% opt.cursor.size %>
<! if opt.commands.notification_daemon.wl then !>
exec-once = <% opt.commands.notification_daemon.wl %>
<! end !>