This commit is contained in:
+13
-17
@@ -26,24 +26,20 @@
|
||||
# RetroArch (bare — cores/ROMs added by hand, WebDAV configured in-app).
|
||||
custom.gaming.retroarch = true;
|
||||
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
exec-once = [
|
||||
];
|
||||
wayland.windowManager.hyprland.extraConfig = ''
|
||||
hl.workspace_rule({ workspace = "1", monitor = "DP-3" })
|
||||
hl.workspace_rule({ workspace = "2", monitor = "eDP-1" })
|
||||
hl.workspace_rule({ workspace = "3", monitor = "eDP-1" })
|
||||
hl.workspace_rule({ workspace = "4", monitor = "eDP-1" })
|
||||
|
||||
workspace = [
|
||||
"1, monitor:DP-3"
|
||||
"2, monitor:eDP-1"
|
||||
"3, monitor:eDP-1"
|
||||
"4, monitor:eDP-1"
|
||||
];
|
||||
|
||||
windowrule = [
|
||||
"no_initial_focus on, match:class bevy-.*"
|
||||
"float on, match:class bevy-.*"
|
||||
"size 800 600, match:class bevy-.*"
|
||||
"move 100%-800 100%-600, match:class bevy-.*"
|
||||
];
|
||||
};
|
||||
hl.window_rule({
|
||||
match = { class = "bevy-.*" },
|
||||
no_initial_focus = true,
|
||||
float = true,
|
||||
size = "800 600",
|
||||
move = "100%-800 100%-600",
|
||||
})
|
||||
'';
|
||||
|
||||
# v4 `bar.density` has no v5 equivalent; spacing is tuned via
|
||||
# bar.main.padding / widget_spacing / thickness if needed.
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
_:
|
||||
{
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
monitor = [
|
||||
"eDP-1, preferred, 0x0, 1, bitdepth, 8"
|
||||
"DP-1, preferred, auto-up, 1"
|
||||
"DP-2, preferred, auto-up, 1"
|
||||
"DP-3, preferred, auto-up, 1"
|
||||
"DP-4, preferred, auto-up, 1"
|
||||
];
|
||||
};
|
||||
# Hyprland 0.55+ is Lua-only (see home/common/programs/hyprland).
|
||||
wayland.windowManager.hyprland.extraConfig = ''
|
||||
hl.monitor({ output = "eDP-1", mode = "preferred", position = "0x0", scale = 1, bitdepth = 8 })
|
||||
hl.monitor({ output = "DP-1", mode = "preferred", position = "auto-up", scale = 1 })
|
||||
hl.monitor({ output = "DP-2", mode = "preferred", position = "auto-up", scale = 1 })
|
||||
hl.monitor({ output = "DP-3", mode = "preferred", position = "auto-up", scale = 1 })
|
||||
hl.monitor({ output = "DP-4", mode = "preferred", position = "auto-up", scale = 1 })
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user