aboutsummaryrefslogtreecommitdiff
path: root/.config/hypr/hyprland.conf
blob: 04ddf0ac310bf6e19387c9ef8db45e54d3ae9f3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# Sourcing external config files
source=~/.config/hypr/user/monitors.conf
source=~/.config/hypr/user/exec.conf
source=~/.config/hypr/user/env.conf
source=~/.config/hypr/user/binds.conf
source=~/.config/hypr/user/window_rules.conf


# Defaults
$term = wezterm
$browser = firefox
#$gmail = firefox --new-instance -P app "https://mail.google.com/" --class appProfile
$editor = nvim
#$explorer = nemo
#$music = g4music
$notepad = code --profile notepad --unity-launch ~/Templates
$launcher = wofi --show drun -n
$launcher_alt = wofi --show run -n
#$discord = discord
#env = GTK_THEME,Breeze-Dark


general {
    gaps_in = 5
    gaps_out = 5
    border_size = 2
    col.active_border = rgba(cba6f7ff) rgba(89b4faff) rgba(94e2d5ff) 10deg
    col.inactive_border = 0xff313244
    # whether to apply the sensitivity to raw input (e.g. used by games where you aim using your mouse)
    apply_sens_to_raw = 0
    layout = "master";
    resize_on_border = yes
    extend_border_grab_area = 20
}


input {
    kb_layout = custom-us
    #sensitivity = 0.75 # for mouse cursor
    sensitivity = 0
    follow_mouse = 0
    scroll_method = 2fg

    touchpad {
        natural_scroll = false
        disable_while_typing = true
        tap-to-click = true
    }
}


decoration {
    rounding = 10
    active_opacity = 0.95
    inactive_opacity = 0.9
    fullscreen_opacity = 0.95

    dim_inactive = false
    dim_strength = 0.05

    blur {
        enabled = true
        #enabled = false
        size = 3
        passes = 1

        vibrancy = 0.1696
    }

    drop_shadow = true
    shadow_range = 4
    shadow_render_power = 3
    col.shadow = rgba(1a1a1aee)
    #blur = true
    #blur_size = 5
    #blur_passes = 4
    #blur_new_optimizations = true
    #blur_xray = true
    #blur_ignore_opacity = true

    #drop_shadow = true
    #shadow_ignore_window = true
    #shadow_range = 20
    #shadow_render_power = 3
    #col.shadow = 0x55161925
    col.shadow_inactive = 0x22161925
    # Your blur "amount" is blur_size * blur_passes, but high blur_size (over around 5-ish) will produce artifacts.
    # if you want heavy blur, you need to up the blur_passes.
    # the more passes, the more you can up the blur_size without noticing artifacts.

    # Blurring layerSurfaces
    # blurls = gtk-layer-shell
    # blurls = waybar
    # blurls = lockscreen
    blurls = rofi
    blurls = wofi
    blurls = firefox
}


animations {
    enabled = true
    # bezier = overshot, 0.05, 0.9, 0.1, 1.1
    bezier = overshot, 0.13, 0.99, 0.29, 1.1
    animation = windows, 1, 4, overshot, slide
    animation = border, 1, 10, default
    animation = fade, 1, 10, default
    animation = workspaces, 1, 6, overshot, slidevert
}


dwindle {
    pseudotile = true # enable pseudotiling on dwindle
    force_split = 0
    #col.group_border = 0xff89dceb
    #col.group_border_active = 0xfff9e2af
    preserve_split = true
}


master {

}


gestures {
    workspace_swipe = true
    workspace_swipe_invert = false
    workspace_swipe_fingers = 3
}


misc {
    disable_hyprland_logo = true

    focus_on_activate = true

    enable_swallow = true
    #swallow_regex = ^(scratchpad)$
}


binds {
    allow_workspace_cycles = true
}


custom {

}


layerrule = blur, bar0
layerrule = noanim, bar0
layerrule = ignorealpha 0.2, bar0
layerrule = blur, dock0
layerrule = noanim, dock0
layerrule = ignorealpha 0.2, dock0
layerrule = blur, indicator0
layerrule = ignorealpha 0.2, indicator0
layerrule = blur, toolbox0
layerrule = noanim, toolbox0
layerrule = ignorealpha 0.2, toolbox0
layerrule = blur, applauncher
layerrule = ignorealpha 0.2, applauncher
layerrule = blur, datemenu
layerrule = ignorealpha 0.2, datemenu
layerrule = blur, quicksettings
layerrule = ignorealpha 0.2, quicksettings
layerrule = blur, wlroots
layerrule = ignorealpha 0.2, wlroots
layerrule = blur, notifications0
layerrule = ignorealpha 0.2, notifications0