-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhyprland.conf
More file actions
211 lines (174 loc) · 6.38 KB
/
hyprland.conf
File metadata and controls
211 lines (174 loc) · 6.38 KB
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
monitor=,preferred,auto,auto
exec-once = kdeconnectd
exec-once = kdeconnect-indicator
exec-once = nwg-drawer -r -nofs
exec-once = swaync
exec-once = waybar
exec-once = hyprpaper
exec-once = /usr/lib/policykit-1-pantheon/io.elementary.desktop.agent-polkit
exec-once = gammastep-indicator
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP HYPRLAND_INSTANCE_SIGNATURE QT_QPA_PLATFORMTHEME DISPLAY
exec-once = swayidle -w timeout 900 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on'
exec-once = [workspace special silent; size 75% 20%;move 12.5% 40] kitty --single-instance
bind=CTRL,return,togglespecialworkspace
env = XCURSOR_SIZE,24
ecosystem {
no_update_news = true
}
xwayland {
force_zero_scaling = true
}
misc {
disable_hyprland_logo = true
disable_splash_rendering = true
#no_direct_scanout = false
}
render {
direct_scanout = true
}
input {
kb_layout = ca
kb_variant = multix
kb_model = pc104
kb_options = compose:prsc
kb_rules =
numlock_by_default = true
follow_mouse = 1
mouse_refocus = false
touchpad {
natural_scroll = true
disable_while_typing = false # Annoying with games
}
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
# scroll_factor = 0.5
}
device {
name = logitech-m720-triathlon-1
sensitivity = 0.3
accel_profile = flat
}
general {
gaps_in = 5
gaps_out = 20
border_size = 2
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
col.inactive_border = rgba(595959aa)
layout = dwindle
}
decoration {
rounding = 10
blur {
enabled = true
size = 3
passes = 1
}
shadow {
enabled = true
range = 4
}
}
animations {
enabled = false
}
dwindle {
preserve_split = false
force_split = 2 # Always split to the right/bottom
}
device {
name = razer-razer-basilisk-x-hyperspeed-1
sensitivity = -0.5
}
gestures {
gesture = 3, horizontal, workspace
# workspace_swipe = true
# workspace_swipe_invert = true
# workspace_swipe_fingers = 3
# workspace_swipe_distance = 1300
# workspace_swipe_cancel_ratio = 0.5
# workspace_swipe_min_speed_to_force = 20
workspace_swipe_create_new = false
}
# From: https://github.com/CachyOS/cachyos-hyprland-settings/blob/master/etc/skel/.config/hypr/hyprland.conf
# Float Necessary Windows
#windowrule=float,Rofi
windowrulev2 = float,class:^()$,title:^(Picture in picture)$
windowrulev2 = float,class:^(brave)$,title:^(Save File)$
windowrulev2 = float,class:^(brave)$,title:^(Open File)$
windowrulev2 = float,class:^(LibreWolf)$,title:^(Picture-in-Picture)$
windowrulev2 = float,class:^(blueman-manager)$
windowrulev2 = float,class:^(xdg-desktop-portal-gtk)$
windowrulev2 = float,class:^(xdg-desktop-portal-kde)$
windowrulev2 = float,class:^(xdg-desktop-portal-hyprland)$
windowrulev2 = float,class:^(org.kde.polkit-kde-authentication-agent-1)$
windowrulev2 = float,class:^(cachyos-hello)$
windowrulev2 = float,class:^(zenity)$
windowrulev2 = float,class:^()$,title:^(Steam - Self Updater)$
#windowrulev2 = noinitialfocus,class:^jetbrains-(?!toolbox),floating:1
# windowrulev2 = move 30% 30%,class:^jetbrains-(?!toolbox),title:^(?!win.*),floating:1
# windowrulev2 = size 40% 40%,class:^jetbrains-(?!toolbox),title:^(?!win.*),floating:1
windowrulev2 = noinitialfocus, class:jetbrains-toolbox, floating:0
windowrulev2 = noinitialfocus, class:(jetbrains-)(.*), floating:0
windowrulev2 = noinitialfocus, class:(jetbrains-)(.*), title:^$, initialTitle:^$, floating:0
windowrulev2 = center, class:(jetbrains-)(.*), initialTitle:(.+), floating:0
windowrulev2 = center, class:(jetbrains-)(.*), title:^$, initialTitle:^$, floating:0
windowrulev2 = noinitialfocus, class:(jetbrains-) (.*), title:^win(.*), initialTitle:win.*, floating:0
$mainMod = SUPER
bind = $mainMod, return, exec, kitty --single-instance
bind = ALT, F4, killactive,
bind = $mainMod SHIFT, e, exit,
bind = $mainMod SHIFT, n, exec, swaync-client -t -sw
bind = $mainMod, E, exec, thunar
bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, pkill -USR1 nwg-drawer
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod, N, exec, swaync-client -t -sw
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
bind = ALT, Tab, focuscurrentorlast
#bind = ALT, Tab, cyclenext, bind = ALT, Tab, bringactivetotop,
#bind = ALT SHIFT, Tab, cyclenext, prev
# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10
bind = $mainMod, period, workspace, e+1
bind = $mainMod, comma, workspace,e-1
bind = $mainMod, tab, workspace,e-1
# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1
bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2
bind = $mainMod SHIFT, 3, movetoworkspacesilent, 3
bind = $mainMod SHIFT, 4, movetoworkspacesilent, 4
bind = $mainMod SHIFT, 5, movetoworkspacesilent, 5
bind = $mainMod SHIFT, 6, movetoworkspacesilent, 6
bind = $mainMod SHIFT, 7, movetoworkspacesilent, 7
bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8
bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9
bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10
# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
bind=$mainMod,F,fullscreen
# brightness keybinds
bind = , XF86MonBrightnessUp, exec, brightnessctl set 10%+
bind = , XF86MonBrightnessDown, exec, brightnessctl set 10%-
# Volume Keybinds
bind = , XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
bind = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bind = , Print, exec, grim -g "$(slurp -d)" - | wl-copy
source=~/.config/hypr/hyprland.conf.local