1{ ... }:
2{
3 wayland.windowManager.hyprland.settings = {
4 "$mainMod" = "SUPER";
5 # see: https://wiki.hypr.land/Configuring/Variables/#input
6 input = {
7 kb_layout = "us";
8 repeat_delay = 300;
9 follow_mouse = 1;
10 };
11 # https://wiki.hypr.land/Configuring/Variables/#general
12 general = {
13 layout = "dwindle";
14 #no_border_on_floating = false;
15
16 };
17 # https://wiki.hypr.land/Configuring/Variables/#misc
18 misc = {
19 disable_hyprland_logo = true;
20 always_follow_on_dnd = true;
21 layers_hog_keyboard_focus = true;
22 animate_manual_resizes = false;
23 enable_swallow = true;
24 swallow_regex = "^(ghostty)$";
25 focus_on_activate = true;
26 on_focus_under_fullscreen = 2;
27 middle_click_paste = false;
28 };
29
30 # https://wiki.hypr.land/Configuring/Dwindle-Layout/
31 dwindle = {
32 pseudotile = false;
33 force_split = 2;
34 preserve_split = true;
35 };
36 # https://wiki.hypr.land/Configuring/Variables/#decoration
37 decoration = {
38 rounding = 0;
39 rounding_power = 2.0;
40 active_opacity = 1.0;
41 inactive_opacity = 1.0;
42 fullscreen_opacity = 1.0;
43 dim_modal = true;
44 dim_inactive = false;
45 dim_strength = 0.5;
46 dim_special = 0.2;
47 dim_around = 0.4;
48 screen_shader = "";
49 border_part_of_window = true;
50 blur = {
51 enabled = true;
52 size = 8;
53 passes = 1;
54 brightness = 0.8172;
55 contrast = 0.8916;
56 ignore_opacity = true;
57 noise = 0.0117;
58 new_optimizations = true;
59 xray = true;
60 vibrancy = 0.1696;
61 vibrancy_darkness = 0.0;
62 special = false;
63 popups = false;
64 popups_ignorealpha = 0.2;
65 input_methods = false;
66 input_methods_ignorealpha = 0.2;
67 };
68
69 shadow = {
70 enabled = true;
71 range = 4;
72 render_power = 3;
73 sharp = false;
74 ignore_window = true;
75 color = "0xee1a1a1a";
76 offset = "0 2";
77 scale = 1.0;
78 };
79
80 };
81 # https://wiki.hypr.land/Configuring/Animations/
82 animations = {
83 enabled = true;
84
85 bezier = [
86 "easeOutQuint, 0.23, 1, 0.32, 1"
87 "easeInOutCubic, 0.65, 0.05, 0.36, 1"
88 "linear, 0, 0, 1, 1"
89 "almostLinear, 0.5, 0.5, 0.75, 1"
90 "quick, 0.15, 0, 0.1, 1"
91 ];
92
93 animation = [
94 "global, 1, 10, default"
95 "border, 1, 5.39, easeOutQuint"
96 "windows, 1, 4.79, easeOutQuint"
97 "windowsIn, 1, 4.1, easeOutQuint, popin 87%"
98 "windowsOut, 1, 1.49, linear, popin 87%"
99 "fadeIn, 1, 1.73, almostLinear"
100 "fadeOut, 1, 1.46, almostLinear"
101 "fade, 1, 3.03, quick"
102 "layers, 1, 3.81, easeOutQuint"
103 "layersIn, 1, 4, easeOutQuint, fade"
104 "layersOut, 1, 1.5, linear, fade"
105 "fadeLayersIn, 1, 1.79, almostLinear"
106 "fadeLayersOut, 1, 1.39, almostLinear"
107 "workspaces, 1, 1.94, almostLinear, fade"
108 "workspacesIn, 1, 1.21, almostLinear, fade"
109 "workspacesOut, 1, 1.94, almostLinear, fade"
110 "zoomFactor, 1, 7, quick"
111 ];
112
113 };
114 # https://wiki.hypr.land/Configuring/XWayland/
115 xwayland = {
116 force_zero_scaling = true;
117 };
118 debug = {
119 disable_logs = false;
120 };
121 };
122
123}