-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhyprland.conf
256 lines (201 loc) · 6.69 KB
/
hyprland.conf
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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
# #######################################################################################
#AUTOGENERATED HYPR CONFIG.
#PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
#OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
# ######################################################################################
#
# Please note not all available settings / options are set here.
# For a full list, see the wiki
#
#autogenerated = 1 # remove this line to remove the warning
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=eDP-1,[email protected],2560x0,1.333
#monitor=DP-1,2560x1440,0x0,1,transform, 1
monitor=HDMI-A-1,2560x1440,0x0,1
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
# Execute your favorite apps at launch
# exec-once = waybar & hyprpaper & firefox
env = ELECTRON_OZONE_PLATFORM_HINT,auto
exec-once = ~/.config/hypr/xdph
exec-once = wl-paste-sqlite --watch ~/.cache/rglauncher/store.db
exec-once = fcitx5
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = ~/files/config/scripts/wall.sh
exec-once = rgbar
exec-once = hypridle
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
kb_layout = us
kb_variant =
kb_model =
kb_options = ctrl:nocaps
kb_rules =
follow_mouse = 1
touchpad {
natural_scroll = true
disable_while_typing = true
}
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 = 3
border_size = 1
col.inactive_border = rgba(808080ff)
col.active_border = rgba(202020ff)
layout = dwindle
}
decoration {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
rounding = 5
blur {
enabled = true
size = 9
passes = 3
new_optimizations = on
}
drop_shadow = true
shadow_range = 22
shadow_render_power = 12
col.shadow = rgba(1a1a1a20)
dim_inactive = true
dim_strength = 0.05
dim_around = 0.1
}
layerrule = blur, gtk-layer-shell
animations {
enabled = true
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
bezier = myBezier, 0.04, 0.74, 0.12, 0.93
bezier = smoothIn, 0.25, 1, 0.5, 1
# animation=NAME,ONOFF,SPEED,CURVE,STYLE
animation = windows, 1, 1, myBezier
animation = windowsOut, 1, 1, default, popin 80%
animation = border, 1, 1, default
animation = fade, 1, 1, default
animation = fadeDim, 1, 4, smoothIn
animation = workspaces, 1, 5, default
}
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
# col.group_border = 0xaa0000ff
#col.group_border_active = 0xaa0000ff
}
group {
groupbar {
#enabled = false
height = 1
render_titles = false
col.inactive = rgba(303030ff)
col.active = rgba(ff9060ff)
}
}
master {
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
# new_is_master = true
}
gestures {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
workspace_swipe = on
workspace_swipe_fingers = 4
workspace_swipe_cancel_ratio = 0.3
}
# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
#device:epic mouse V1 {
# sensitivity = -0.5
#}
# Example windowrule v1
# windowrule = float, ^(kitty)$
windowrule=noanim,^(rglauncher)$
windowrule=noanim,^.*auncher$
windowrule=noanim,^CopyQ$
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Return, exec, foot
bind = $mainMod, X, exec, emacs
bind = $mainMod, Q, exec, copyq toggle
bind = $mainMod SHIFT, Q, killactive,
bind = $mainMod SHIFT, E, exit,
bind = $mainMod SHIFT, M, togglefloating,
#bind = $mainMod, D, exec, ~/.config/hypr/start-rglauncher.sh
bind = $mainMod, D, exec, rglauncher
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod, T, togglegroup,
bind = $mainMod, Grave, exec, dunstctl history-pop
bind = $mainMod, F1, exec, pamixer --toggle-mute
bind = $mainMod, F2, exec, pamixer -d 5
bind = $mainMod, F3, exec, pamixer -i 5
bind = $mainMod, F, fullscreen
bind = $mainMod, F12, exec, sshot -w
# Move focus with mainMod + arrow keys
bind = SUPER,left,exec, ~/.config/hypr/focus.sh left
bind = SUPER,right,exec, ~/.config/hypr/focus.sh right
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
bind = $mainMod, S, pin
bind = SUPERSHIFT,C , exec, ~/.config/hypr/center.sh
bind=SUPER,1, exec, hypr-ws focus 1
bind=SUPER,2, exec, hypr-ws focus 2
bind=SUPER,3, exec, hypr-ws focus 3
bind=SUPER,4, exec, hypr-ws focus 4
bind=SUPER,5, exec, hypr-ws focus 5
bind=SUPER,6, exec, hypr-ws focus 6
bind=SUPER,7, exec, hypr-ws focus 7
bind=SUPER,8, exec, hypr-ws focus 8
bind=SUPER,9, exec, hypr-ws focus 9
bind=SUPERSHIFT,1, exec, hypr-ws movetoworkspace 1
bind=SUPERSHIFT,2, exec, hypr-ws movetoworkspace 2
bind=SUPERSHIFT,3, exec, hypr-ws movetoworkspace 3
bind=SUPERSHIFT,4, exec, hypr-ws movetoworkspace 4
bind=SUPERSHIFT,5, exec, hypr-ws movetoworkspace 5
bind=SUPERSHIFT,6, exec, hypr-ws movetoworkspace 6
bind=SUPERSHIFT,7, exec, hypr-ws movetoworkspace 7
bind=SUPERSHIFT,8, exec, hypr-ws movetoworkspace 8
bind=SUPERSHIFT,9, exec, hypr-ws movetoworkspace 9
# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, exec, hypr-ws focus e+1
bind = $mainMod, mouse_up, exec, hypr-ws focus e-1
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
bindm = SUPERSHIFT, mouse:272, resizewindow
xwayland {
force_zero_scaling = true
}
# toolkit-specific scale
env = GDK_SCALE,1.5
#env = XCURSOR_SIZE,32
# Nvidia part
env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = NVD_BACKEND,direct
env = ELECTRON_OZONE_PLATFORM_HINT,auto
cursor {
no_hardware_cursors = true
}
cursor {
no_break_fs_vrr = true
}
opengl {
nvidia_anti_flicker = true
}
cursor {
no_break_fs_vrr = true
}
misc {
disable_splash_rendering = true
disable_hyprland_logo = true
}