tangled
alpha
login
or
join now
kris.darkworld.download
/
nix
1
fork
atom
My NixOS configurations + dotfiles
1
fork
atom
overview
issues
pulls
pipelines
hyprland: update display config for -git
kris.darkworld.download
3 months ago
985dd5e1
08524bdd
verified
This commit was signed with the committer's
known signature
.
kris.darkworld.download
SSH Key Fingerprint:
SHA256:4iiUkypaBzJPnEeVlazWCFBrJncWXreVhtJPB4DlswE=
+140
-69
1 changed file
expand all
collapse all
unified
split
config
hypr
config
display.conf
+140
-69
config/hypr/config/display.conf
···
1
-
# Monitor ( https://wiki.hyprland.org/Configuring/Monitors )
0
0
0
2
monitor=,1920x1080@240,auto,1
3
# monitor=Unknown-1,disabled
4
5
-
# General Configuration
6
-
general {
0
0
0
0
7
gaps_in = 5
8
gaps_out = 20
9
border_size = 2
10
11
col.active_border = rgb(89b4fa)
12
-
# rgba(088f72ee) rgba(2ccfabee) rgba(088f72ee) rgba(ffffffee) rgba(7bade2ee) rgba(5049ccee) rgba(3e1a78ee) 90deg
13
col.inactive_border = rgb(585b70)
14
-
resize_on_border = false
0
15
allow_tearing = true
16
layout = dwindle
17
}
18
19
-
# Window Decorations
0
0
0
0
20
decoration {
21
rounding = 12
22
23
-
# Change transparency of focused and unfocused windows
24
active_opacity = 1.0
25
-
inactive_opacity = 1
26
fullscreen_opacity = 1.0
27
28
shadow {
···
40
size = 3
41
passes = 1
42
xray = false
43
-
44
vibrancy = 0.1696
45
}
46
}
47
48
-
# Animations
0
0
0
0
49
animations {
50
enabled = true
51
52
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
53
-
bezier = main, 0.445, 0.05, 0.55, 0.95
54
bezier = monitorBez, 0, 1, 1, 1
55
56
-
animation = windows, 1, 7, myBezier
57
-
animation = windowsOut, 1, 7, default
58
-
animation = border, 1, 10, default
59
-
animation = borderangle, 1, 8, default
60
-
animation = fade, 1, 7, default
61
-
animation = workspaces, 1, 6, default, slide
62
-
63
animation = specialWorkspace, 1, 6, myBezier, slide
0
0
64
65
-
# animation = specialWorkspaceIn, 1, 6, myBezier, slidevert bottom
66
-
# animation = specialWorkspaceOut, 1, 6, myBezier, slidevert top
67
68
-
animation = monitorAdded, 1, 30, monitorBez
69
-
70
-
}
71
72
render {
73
# new_render_scheduling = true
74
}
75
0
0
0
0
0
76
cursor {
77
use_cpu_buffer = 2
78
enable_hyprcursor = true
79
invisible = false
80
}
81
82
-
windowrule = tag +game, class:org.vinegarhq.Sober
83
-
windowrule = tag +game, class:com.mojang.minecraft.java-edition
84
-
windowrule = tag +discord, class:equibop
85
86
-
windowrule = tag +code, class:code
87
-
windowrule = tag +music, class:cider
88
-
windowrule = tag +music, class:spotify
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
89
90
-
# windowrule = opacity 0.7, tag:music
91
92
-
windowrulev2 = renderunfocused, tag:music
93
-
windowrulev2 = renderunfocused, tag:game
94
-
windowrulev2 = renderunfocused, tag:discord
95
96
-
# Dwindle layout
97
dwindle {
98
-
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
99
-
preserve_split = true # You probably want this
100
}
101
102
-
# Misc Config
103
-
misc {
0
0
0
0
104
force_default_wallpaper = 2
105
disable_hyprland_logo = false
106
initial_workspace_tracking = 0
···
111
allow_session_lock_restore = 1
112
}
113
114
-
# Layer Rules
115
-
layerrule = animation slide top, waybar
116
-
layerrule = abovelock true, waybar
117
-
layerrule = abovelock true, notifications
118
119
-
# layerrule = noscreenshare, notifications
0
0
120
121
-
layerrule = animation fade, selection
122
-
layerrule = animation popin 70%, wofi
123
-
layerrule = animation slide right, notifications
124
-
layerrule = dimaround, wofi
0
0
0
125
126
-
layerrule = order -999, wl_shimeji
127
-
layerrule = order -10, wofi
128
-
layerrule = order -20, waybar
129
-
layerrule = order -25, gtk-layer-shell
130
-
layerrule = blur, swww-daemon
0
131
132
-
# Window Rules
133
-
windowrulev2 = float,class:^(blueman-manager-wrapped)$
134
-
windowrulev2 = size 900 500,class:^(blueman-manager-wrapped)$
135
-
windowrulev2 = center,class:^(blueman-manager-wrapped)$
0
0
0
136
137
-
windowrulev2 = float,class:^(org.pulseaudio.pavucontrol)$
138
-
windowrulev2 = size 900 500,class:^(org.pulseaudio.pavucontrol)$
139
-
windowrulev2 = center,class:^(org.pulseaudio.pavucontrol)$
0
0
0
140
141
-
windowrulev2 = float,class:^(nm-connection-editor)$
142
-
windowrulev2 = size 900 500,class:^(nm-connection-editor)$
143
-
windowrulev2 = center,class:^(nm-connection-editor)$
0
0
144
145
-
windowrulev2 = allowsinput,class:^(steam_proton)$
146
147
-
windowrulev2 = renderunfocused, class:^(equibop)$
148
-
windowrulev2 = renderunfocused, class:^(discord)$
0
149
150
-
# dotfille settings
151
-
windowrulev2 = float,class:io.Astal.ocbwoy3-settings
152
-
windowrulev2 = size 900 500,class:io.Astal.ocbwoy3-settings
153
-
windowrulev2 = center,class:io.Astal.ocbwoy3-settings
0
0
0
154
0
0
0
0
0
155
156
# windowrulev2 = immediate, class:^(sober)$
157
# windowrulev2 = fullscreen,title:^(Sober)$
···
1
+
#############################################
2
+
# MONITORS
3
+
#############################################
4
+
5
monitor=,1920x1080@240,auto,1
6
# monitor=Unknown-1,disabled
7
8
+
9
+
#############################################
10
+
# GENERAL
11
+
#############################################
12
+
13
+
general {
14
gaps_in = 5
15
gaps_out = 20
16
border_size = 2
17
18
col.active_border = rgb(89b4fa)
0
19
col.inactive_border = rgb(585b70)
20
+
21
+
resize_on_border = false
22
allow_tearing = true
23
layout = dwindle
24
}
25
26
+
27
+
#############################################
28
+
# DECORATION
29
+
#############################################
30
+
31
decoration {
32
rounding = 12
33
0
34
active_opacity = 1.0
35
+
inactive_opacity = 1.0
36
fullscreen_opacity = 1.0
37
38
shadow {
···
50
size = 3
51
passes = 1
52
xray = false
0
53
vibrancy = 0.1696
54
}
55
}
56
57
+
58
+
#############################################
59
+
# ANIMATIONS
60
+
#############################################
61
+
62
animations {
63
enabled = true
64
65
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
66
+
bezier = main, 0.445, 0.05, 0.55, 0.95
67
bezier = monitorBez, 0, 1, 1, 1
68
69
+
animation = windows, 1, 7, myBezier
70
+
animation = windowsOut, 1, 7, default
71
+
animation = border, 1, 10, default
72
+
animation = borderangle, 1, 8, default
73
+
animation = fade, 1, 7, default
74
+
animation = workspaces, 1, 6, default, slide
0
75
animation = specialWorkspace, 1, 6, myBezier, slide
76
+
animation = monitorAdded, 1, 30, monitorBez
77
+
}
78
0
0
79
80
+
#############################################
81
+
# RENDER
82
+
#############################################
83
84
render {
85
# new_render_scheduling = true
86
}
87
88
+
89
+
#############################################
90
+
# CURSOR
91
+
#############################################
92
+
93
cursor {
94
use_cpu_buffer = 2
95
enable_hyprcursor = true
96
invisible = false
97
}
98
0
0
0
99
100
+
#############################################
101
+
# WINDOW RULES (TAGGING)
102
+
#############################################
103
+
104
+
windowrule {
105
+
name = games
106
+
match:class = org.vinegarhq.Sober|com.mojang.minecraft.java-edition|deltarune.exe|steam_app_1671210
107
+
tag = +game
108
+
}
109
+
110
+
windowrule {
111
+
name = discord
112
+
match:class = equibop
113
+
tag = +discord
114
+
}
115
+
116
+
windowrule {
117
+
name = deltarune
118
+
match:class = deltarune.exe|steam_app_1671210
119
+
tag = +deltarune
120
+
}
121
+
122
+
windowrule {
123
+
name = code
124
+
match:class = code|windsurf
125
+
tag = +code
126
+
}
127
+
128
+
windowrule {
129
+
name = music
130
+
match:class = cider|spotify
131
+
tag = +music
132
+
}
133
+
134
+
# Tag behavior rules
135
+
windowrule {
136
+
name = render unfocused
137
+
match:tag = music|game|discord
138
+
render_unfocused = on
139
+
}
140
0
141
142
+
#############################################
143
+
# LAYOUTS
144
+
#############################################
145
0
146
dwindle {
147
+
pseudotile = true
148
+
preserve_split = true
149
}
150
151
+
152
+
#############################################
153
+
# MISC
154
+
#############################################
155
+
156
+
misc {
157
force_default_wallpaper = 2
158
disable_hyprland_logo = false
159
initial_workspace_tracking = 0
···
164
allow_session_lock_restore = 1
165
}
166
0
0
0
0
167
168
+
#############################################
169
+
# LAYER RULES
170
+
#############################################
171
172
+
layerrule {
173
+
name = waybar
174
+
match:namespace = waybar
175
+
animation = slide top
176
+
above_lock = 2
177
+
order = -20
178
+
}
179
180
+
layerrule {
181
+
name = notifications
182
+
match:namespace = notifications
183
+
animation = slide right
184
+
above_lock = 2
185
+
}
186
187
+
layerrule {
188
+
name = wofi
189
+
match:namespace = wofi
190
+
animation = popin 70%
191
+
dim_around = on
192
+
order = -10
193
+
}
194
195
+
layerrule {
196
+
name = shimeji
197
+
match:namespace = wl_shimeji
198
+
order = -9999
199
+
above_lock = 2
200
+
}
201
202
+
layerrule {
203
+
name = gtk layer shell
204
+
match:namespace = gtk-layer-shell
205
+
order = -25
206
+
}
207
0
208
209
+
#############################################
210
+
# FLOATING UTILITY WINDOWS
211
+
#############################################
212
213
+
windowrule {
214
+
name = blueman music internet
215
+
match:class = blueman-manager|blueman-manager-wrapped|org.pulseaudio.pavucontrol|nm-connection-editor|nm-connection-editor-wrapped
216
+
float = true
217
+
size = 900 500
218
+
center = true
219
+
}
220
221
+
#############################################
222
+
# OTHER
223
+
#############################################
224
+
225
+
windowrule = match:class steam_proton|org.vinegarhq.Sober, allows_input on
226
227
# windowrulev2 = immediate, class:^(sober)$
228
# windowrulev2 = fullscreen,title:^(Sober)$